aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
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);