From 9c12d813966e0fdc4542a7001ffa135722840de0 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 22 Sep 2018 13:07:33 +0200 Subject: SubWindow: add 'open last closed tab/tabs' actions --- src/subwindow/subwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/subwindow/subwindow.cpp') 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 &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 -- cgit v1.2.1