summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorLindsay Mathieson <lindsay@lindsay-desktop.(none)>2010-05-16 15:08:26 +1000
committerLindsay Mathieson <lindsay@lindsay-desktop.(none)>2010-05-16 15:08:26 +1000
commit696a9dc552d16f1b76921636a0284cea048059c6 (patch)
tree131eaaa8539a90bc8adcbfd2170682198a4d73b3 /src/mainview.cpp
parentThis commit should fix a lot of troubles on fast urlbar typing (diff)
downloadrekonq-696a9dc552d16f1b76921636a0284cea048059c6.tar.xz
Adds current tab to session state (bug 237720)
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 4fbd5959..58247d53 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -123,6 +123,7 @@ void MainView::postLaunch()
// Session Manager
connect(this, SIGNAL(tabsChanged()), Application::sessionManager(), SLOT(saveSession()));
+ connect(this, SIGNAL(currentChanged(int)), Application::sessionManager(), SLOT(saveSession()));
m_addTabButton->setDefaultAction(m_parentWindow->actionByName("new_tab"));