Commit d9cb55b6 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Show the properties menu item when multiple layers are visible

parent fcead228
......@@ -485,15 +485,16 @@ void KisLayerBox::slotContextMenuRequested(const QPoint &pos, const QModelIndex
const bool singleLayer = m_nodeManager->selectedNodes().size() == 1;
if (index.isValid()) {
menu.addAction(m_propertiesAction);
if (singleLayer) {
menu.addAction(m_propertiesAction);
addActionToMenu(&menu, "layer_style");
menu.addSeparator();
addActionToMenu(&menu, "show_in_timeline");
menu.addSeparator();
}
menu.addSeparator();
addActionToMenu(&menu, "cut_layer_clipboard");
addActionToMenu(&menu, "copy_layer_clipboard");
addActionToMenu(&menu, "paste_layer_from_clipboard");
......
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