Commit f9303f4a authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Add missing "show" in diagram context menu entry to tree view items

CCBUG:116354
parent bc435c59
......@@ -170,6 +170,7 @@ UMLListViewPopupMenu::UMLListViewPopupMenu(QWidget *parent, UMLListViewItem *ite
case UMLListViewItem::lvt_Subsystem:
insertSubMenuNew(type);
insertStdItems();
insert(mt_Show);
insert(mt_Properties);
addSeparator();
insert(mt_Expand_All);
......@@ -179,6 +180,7 @@ UMLListViewPopupMenu::UMLListViewPopupMenu(QWidget *parent, UMLListViewItem *ite
case UMLListViewItem::lvt_Component:
insertSubMenuNew(type);
insertStdItems();
insert(mt_Show);
insert(mt_Properties);
addSeparator();
insert(mt_Expand_All);
......@@ -197,6 +199,7 @@ UMLListViewPopupMenu::UMLListViewPopupMenu(QWidget *parent, UMLListViewItem *ite
case UMLListViewItem::lvt_Operation:
case UMLListViewItem::lvt_Template:
insertStdItems(false);
insert(mt_Show);
insert(mt_Properties);
break;
......@@ -210,6 +213,7 @@ UMLListViewPopupMenu::UMLListViewPopupMenu(QWidget *parent, UMLListViewItem *ite
case UMLListViewItem::lvt_Enum:
insertSubMenuNew(type);
insertStdItems();
insert(mt_Show);
insert(mt_Properties);
break;
......@@ -223,12 +227,14 @@ UMLListViewPopupMenu::UMLListViewPopupMenu(QWidget *parent, UMLListViewItem *ite
case UMLListViewItem::lvt_Entity:
insertSubMenuNew(type);
insertStdItems();
insert(mt_Show);
insert(mt_Properties);
break;
case UMLListViewItem::lvt_Instance:
insertSubMenuNew(type);
insertStdItems();
insert(mt_Show);
insert(mt_Properties);
break;
......@@ -238,6 +244,7 @@ UMLListViewPopupMenu::UMLListViewPopupMenu(QWidget *parent, UMLListViewItem *ite
case UMLListViewItem::lvt_CheckConstraint:
insert(mt_Rename);
insert(mt_Delete);
insert(mt_Show);
insert(mt_Properties);
break;
......
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