From 91bf6ad99622b8f2b025239dd58041bdf3e221e7 Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Thu, 19 Jan 2023 14:27:03 +0100 Subject: [PATCH] RMG: show toolbar when it's hidden in loadGeometry() --- Source/RMG/UserInterface/MainWindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/RMG/UserInterface/MainWindow.cpp b/Source/RMG/UserInterface/MainWindow.cpp index 9ed74fa5..1879b645 100644 --- a/Source/RMG/UserInterface/MainWindow.cpp +++ b/Source/RMG/UserInterface/MainWindow.cpp @@ -321,6 +321,11 @@ void MainWindow::loadGeometry(void) this->menuBar()->show(); } + if (this->ui_ShowToolbar && this->toolBar->isHidden()) + { + this->toolBar->show(); + } + if (this->ui_ShowStatusbar && this->statusBar()->isHidden()) { this->statusBar()->show();