summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-04 02:38:35 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-04 02:38:35 +0200
commitd44c64e440e8d551d528eeafef97407c77cd420a (patch)
treedc1a6e0cb478a027dc8e3ceb2d156154436bb089 /src/tabbar.cpp
parenti18n fixes (diff)
downloadrekonq-d44c64e440e8d551d528eeafef97407c77cd420a.tar.xz
This should fix the Ctrl+w bug. Anyway, it really doesn't solve it: there is a corner case
where the trick implemented doesn't work. We'll see if someone can fix also that.. BUG:233937
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 94c5efbd..09aa814d 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -120,30 +120,35 @@ QSize TabBar::tabSizeHint(int index) const
void TabBar::cloneTab()
{
emit cloneTab(m_actualIndex);
+ m_actualIndex = -1;
}
void TabBar::closeTab()
{
emit closeTab(m_actualIndex);
+ m_actualIndex = -1;
}
void TabBar::closeOtherTabs()
{
emit closeOtherTabs(m_actualIndex);
+ m_actualIndex = -1;
}
void TabBar::reloadTab()
{
emit reloadTab(m_actualIndex);
+ m_actualIndex = -1;
}
void TabBar::detachTab()
{
emit detachTab(m_actualIndex);
+ m_actualIndex = -1;
}