[qet] [883] Correction : il n' etait plus possible de modifier les dimensions et point de saisie d' un element.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 883
Author:   xavier
Date:     2010-03-07 19:13:48 +0100 (Sun, 07 Mar 2010)
Log Message:
-----------
Correction : il n'etait plus possible de modifier les dimensions et point de saisie d'un element.

Modified Paths:
--------------
    trunk/sources/editor/elementscene.cpp

Modified: trunk/sources/editor/elementscene.cpp
===================================================================
--- trunk/sources/editor/elementscene.cpp	2010-03-06 14:05:32 UTC (rev 882)
+++ trunk/sources/editor/elementscene.cpp	2010-03-07 18:13:48 UTC (rev 883)
@@ -836,7 +836,7 @@
 	connect(dialog_buttons, SIGNAL(rejected()),    &dialog_sh, SLOT(reject()));
 	
 	// lance le dialogue
-	if (dialog_sh.exec() == QDialog::Accepted && is_read_only) {
+	if (dialog_sh.exec() == QDialog::Accepted && !is_read_only) {
 		QSize new_size(hotspot_editor -> elementSize());
 		QSize old_size(width(), height());
 		QPoint new_hotspot(hotspot_editor -> hotspot());


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/