aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-12-17 22:57:56 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-12-17 22:57:56 +0100
commitc3b0d2ada159896b49451fe3d8e6172a8101a845 (patch)
tree115179b978157efc5b3fd1bc59acfedc3f25a394 /src/mainwindow/mainwindow.cpp
parentAdd browser.iconTheme (diff)
downloadsmolbote-c3b0d2ada159896b49451fe3d8e6172a8101a845.tar.xz
Add subwindow list to Window menu
Diffstat (limited to 'src/mainwindow/mainwindow.cpp')
-rw-r--r--src/mainwindow/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp
index ea024c5..5358fb6 100644
--- a/src/mainwindow/mainwindow.cpp
+++ b/src/mainwindow/mainwindow.cpp
@@ -252,6 +252,7 @@ SubWindow *MainWindow::createSubWindow(WebProfile *profile, bool openProfileNewt
}
auto *w = new SubWindow(configuration, this);
+ m_menuBar->insertSubWindow(w);
w->setProfile(profile);
mdiArea->addSubWindow(w);