Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 414c07b..0a39b0a 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -33,6 +33,7 @@ MainWindow::MainWindow()
// initialize menu bar
initMenus();
+ updateMenus();
}
@@ -137,8 +138,6 @@ EditorWindow *MainWindow::add_child()
//subwindow->resize(768, 512);
child_widget->show();
- // FIXME check if maximized
-
return child_widget;
}
@@ -156,8 +155,6 @@ void MainWindow::slot_open()
QMdiSubWindow *subwindow = find_child(filename);
if (subwindow) {
- subwindow->raise();
- subwindow->activateWindow();
mainwindow_mdiarea->setActiveSubWindow(subwindow);
} else {
EditorWindow *editorwindow = add_child();