[qet] [2250] Added warnings if disable every save if a primitive is out of the hospot

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


Revision: 2250
Author:   scorpio810
Date:     2013-06-11 20:56:30 +0200 (Tue, 11 Jun 2013)
Log Message:
-----------
Added warnings if disable every save if a primitive is out of the hospot

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

Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp	2013-06-11 16:56:07 UTC (rev 2249)
+++ trunk/sources/editor/qetelementeditor.cpp	2013-06-11 18:56:30 UTC (rev 2250)
@@ -452,6 +452,7 @@
 	save            -> setEnabled(!read_only && !ce_scene -> undoStack().isClean() && ce_scene -> borderContainsEveryParts());
 	save_as -> setEnabled(ce_scene -> borderContainsEveryParts());
 	save_as_file -> setEnabled(ce_scene -> borderContainsEveryParts());
+	if (!ce_scene -> borderContainsEveryParts()) checkElement();
 	undo            -> setEnabled(!read_only && ce_scene -> undoStack().canUndo());
 	redo            -> setEnabled(!read_only && ce_scene -> undoStack().canRedo());
 }


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