diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-07-24 20:01:44 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-07-24 20:02:58 +0300 |
commit | 7741d685c4fc82cdb15828ec944e211476868704 (patch) | |
tree | a9bed12f22bef8ab616e5eb7bba10e7b9c0bc138 | |
parent | 5f9e54bafa8342ec79af0e85371372b6c38ad897 (diff) | |
download | mathemagics-7741d685c4fc82cdb15828ec944e211476868704.tar.gz mathemagics-7741d685c4fc82cdb15828ec944e211476868704.zip |
Added action to show/hide toolbars.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
-rw-r--r-- | mathemagics/mathemagics.cpp | 1 | ||||
-rw-r--r-- | mathemagics/mathemagicsui.rc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/mathemagics/mathemagics.cpp b/mathemagics/mathemagics.cpp index 24ac91b..73877a9 100644 --- a/mathemagics/mathemagics.cpp +++ b/mathemagics/mathemagics.cpp @@ -146,6 +146,7 @@ Mathemagics::Mathemagics(TQWidget *parent, const char *name, WFlags f) (void) new TDEAction(i18n("&Revert Stack Changes"), 0, this, SLOT(slotRevert()), actionCollection(), "revert"); (void) new TDEAction(i18n("&Drop"), 0, this, SLOT(slotDrop()), actionCollection(), "drop"); + setStandardToolBarMenuEnabled(true); statusBar(); createGUI(); diff --git a/mathemagics/mathemagicsui.rc b/mathemagics/mathemagicsui.rc index 78f9cee..6a1372b 100644 --- a/mathemagics/mathemagicsui.rc +++ b/mathemagics/mathemagicsui.rc @@ -53,6 +53,8 @@ <Action name="angle" /> <Separator /> <Action name="keypad" /> + <Separator /> + <Merge name="StandardToolBarMenuHandler" /> </Menu> </MenuBar> |