38b2e429fa
Without this it's possible to disable the menu bar with no way to bring it back. OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/qterminal?expand=0&rev=2
14 lines
662 B
Diff
14 lines
662 B
Diff
diff -urEbwB qterminal-0.6.0/src/termwidget.cpp qterminal-0.6.0.new/src/termwidget.cpp
|
|
--- qterminal-0.6.0/src/termwidget.cpp 2014-10-22 10:13:14.000000000 +0200
|
|
+++ qterminal-0.6.0.new/src/termwidget.cpp 2016-03-08 14:50:34.453218129 +0100
|
|
@@ -106,6 +106,9 @@
|
|
menu.addAction(Properties::Instance()->actions[SPLIT_VERTICAL]);
|
|
#warning TODO/FIXME: disable the action when there is only one terminal
|
|
menu.addAction(Properties::Instance()->actions[SUB_COLLAPSE]);
|
|
+ menu.addSeparator();
|
|
+ menu.addAction(Properties::Instance()->actions[TOGGLE_MENU]);
|
|
+ menu.addAction(Properties::Instance()->actions[PREFERENCES]);
|
|
menu.exec(mapToGlobal(pos));
|
|
}
|
|
|