Added warnings if disable every save if a primitive is out of the hospot

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2250 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2013-06-11 18:56:30 +00:00
parent fc0a096e89
commit 7058fcfd87

View File

@@ -452,6 +452,7 @@ void QETElementEditor::slot_updateMenus() {
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());
}