qterminal/preferences_context_menu.patch

14 lines
662 B
Diff
Raw Normal View History

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));
}