From 2bb467c3caa4f7d0ca378776c89eebaaf1e912c3 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 13 Sep 2008 21:12:46 +0000 Subject: [FIX] Sigmod description field fixed [FIX] Fixed a bug with the Validation dialog being called twice with the same editor widget git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@261 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- sigmodr/ObjectUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sigmodr/ObjectUI.cpp') diff --git a/sigmodr/ObjectUI.cpp b/sigmodr/ObjectUI.cpp index 18472a74..6bd22808 100644 --- a/sigmodr/ObjectUI.cpp +++ b/sigmodr/ObjectUI.cpp @@ -122,7 +122,8 @@ void Sigmodr::ObjectUI::contextMenu(const QPoint& pos) void Sigmodr::ObjectUI::validate() { - apply(); + if (m_changed) + apply(); m_validator->show(); } -- cgit