mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user