Commit 8d31cd48 authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann

QmlDesigner: Disable stack menu if no item is selected

Change-Id: I2987b6a49b7adb34036a22876caed2f4c4012109
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 4d421aca
......@@ -309,7 +309,7 @@ using namespace SelectionContextFunctors;
bool multiSelection(const SelectionContext &context)
{
return !singleSelection(context);
return !singleSelection(context) && selectionNotEmpty(context);
}
bool singleSelectionAndInBaseState(const SelectionContext &context)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment