diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-22 13:07:33 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-22 13:07:33 +0200 |
commit | 9c12d813966e0fdc4542a7001ffa135722840de0 (patch) | |
tree | 3e2e382a52d7c1fc6eecfdd7ac1200747d5de3a4 /src/subwindow/subwindow.cpp | |
parent | Add updater notes to documentation (diff) | |
download | smolbote-9c12d813966e0fdc4542a7001ffa135722840de0.tar.xz |
SubWindow: add 'open last closed tab/tabs' actions
Diffstat (limited to 'src/subwindow/subwindow.cpp')
-rw-r--r-- | src/subwindow/subwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/subwindow/subwindow.cpp b/src/subwindow/subwindow.cpp index 6cbb172..0e59c6b 100644 --- a/src/subwindow/subwindow.cpp +++ b/src/subwindow/subwindow.cpp @@ -69,6 +69,7 @@ SubWindow::SubWindow(const std::unique_ptr<Configuration> &config, QWidget *pare auto index = addTab(WebProfile::defaultProfile()->newtab()); tabWidget->setCurrentIndex(index); }); + newTab_button->setMenu(tabWidget->createTabMenu(newTab_button)); tabWidget->setCornerWidget(newTab_button, Qt::TopRightCorner); // general actions |