diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-10-18 11:27:52 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-10-18 11:28:00 +0200 |
commit | 375621b09d85ee3430659c8278c8ebb56d9a4507 (patch) | |
tree | e116b5cb1caf6e5e8fe611e31436e32e13fedec7 /src/gui/mainwindow.cpp | |
parent | 30669ac45c9d6a7dd752ac7cb707b98151e822ad (diff) |
added docks to View menu (closes #29)
Diffstat (limited to 'src/gui/mainwindow.cpp')
-rw-r--r-- | src/gui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 806d634..acbad69 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -44,7 +44,6 @@ MainWindow::MainWindow(QWidget *parent) : // TODO: check if each window should have a menu _menu = new MainMenu(); _menu->setParent(this); - setMenuBar(_menu); QVariant geom = settings.value("geometry-main"); @@ -70,6 +69,7 @@ MainWindow::MainWindow(QWidget *parent) : _tikzDocument->refreshTikz(); connect(_tikzDocument->undoStack(), SIGNAL(cleanChanged(bool)), this, SLOT(updateFileName())); + _menu->addDocks(createPopupMenu()); } MainWindow::~MainWindow() |