mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-21 02:37:16 +01:00
additional check for the condition that only seems to happen in unit tests
This commit is contained in:
parent
549761d01a
commit
4f43a0cce4
@ -864,6 +864,7 @@ void ObjectManipulator::getMenuState(bool haveMoveTargets,
|
||||
copyMenuItem = copyMenuItem && FWBTree().getCopyMenuState(object_path);
|
||||
pasteMenuItem = pasteMenuItem &&
|
||||
FWBTree().getPasteMenuState(object_path) &&
|
||||
FWObjectClipboard::obj_clipboard &&
|
||||
(FWObjectClipboard::obj_clipboard->size()!=0);
|
||||
delMenuItem = delMenuItem && getDeleteMenuState(obj);
|
||||
delMenuItem = delMenuItem && current_library != NULL &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user