From 7741d685c4fc82cdb15828ec944e211476868704 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sat, 24 Jul 2021 20:01:44 +0300 Subject: Added action to show/hide toolbars. Signed-off-by: Mavridis Philippe --- mathemagics/mathemagics.cpp | 1 + mathemagics/mathemagicsui.rc | 2 ++ 2 files changed, 3 insertions(+) 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 @@ + + -- cgit v1.2.1