diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc
index fb3c142dc77d374cdfeb11489413482f6673ec7f..ceed9c3192d76a3b2fede89456e7efcc00c2d900 100644
--- a/src/ui/MainWindow.cc
+++ b/src/ui/MainWindow.cc
@@ -836,16 +836,16 @@ void MainWindow::addCentralWidget(QWidget* widget, const QString& title)
{
centerStack->addWidget(widget);
- QAction* tempAction = ui.menuMain->addAction(title);
-
- tempAction->setCheckable(true);
- QVariant var;
- var.setValue((QWidget*)widget);
- tempAction->setData(var);
- centerStackActionGroup->addAction(tempAction);
- connect(tempAction,SIGNAL(triggered()),this, SLOT(showCentralWidget()));
+// QAction* tempAction = ui.menuMain->addAction(title);
+
+// tempAction->setCheckable(true);
+// QVariant var;
+// var.setValue((QWidget*)widget);
+// tempAction->setData(var);
+// centerStackActionGroup->addAction(tempAction);
+// connect(tempAction,SIGNAL(triggered()),this, SLOT(showCentralWidget()));
//connect(widget, SIGNAL(visibilityChanged(bool)), tempAction, SLOT(setChecked(bool)));
- tempAction->setChecked(widget->isVisible());
+// tempAction->setChecked(widget->isVisible());
}
}
diff --git a/src/ui/MainWindow.ui b/src/ui/MainWindow.ui
index 0a238b78602d2ac73fb3de3cbdba2043dea50c97..4d16d9f33b13f62f0061f170f7285885df9c8c20 100644
--- a/src/ui/MainWindow.ui
+++ b/src/ui/MainWindow.ui
@@ -115,15 +115,9 @@
-
-