summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <[email protected]>2015-06-08 10:18:10 +0200
committerRalf Habacker <[email protected]>2015-06-08 10:18:33 +0200
commitd3a47173862067949adedfbaf0c3ffed78831f44 (patch)
treebe35f1a63b97fc2e6a200bdce8527a25e1a7babe
parentd454f2b8d033a2fb28d56d62130bbbb8c5800bbe (diff)
Coverity check CID 95923: Missing break in switch (MISSING_BREAK)
The case for value ListPopupMenu::mt_Properties is not terminated by a 'break' statement.
-rw-r--r--umbrello/listpopupmenu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/umbrello/listpopupmenu.cpp b/umbrello/listpopupmenu.cpp
index a223055..2bde4a4 100644
--- a/umbrello/listpopupmenu.cpp
+++ b/umbrello/listpopupmenu.cpp
@@ -2074,6 +2074,9 @@ void ListPopupMenu::setupMenu(MenuType type)
case mt_Properties:
insert(mt_Expand_All);
insert(mt_Collapse_All);
+ insert(mt_Properties);
+ break;
+
case mt_Properties_AutoLayout:
case mt_Properties_Class:
case mt_Properties_CodeImport: