diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-06-04 02:38:35 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-06-04 02:38:35 +0200 |
commit | d44c64e440e8d551d528eeafef97407c77cd420a (patch) | |
tree | dc1a6e0cb478a027dc8e3ceb2d156154436bb089 /src/tabbar.cpp | |
parent | i18n fixes (diff) | |
download | rekonq-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.cpp | 5 |
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; } |