Correctly enable/disable the actions for "move tab right" and "move tab left" after

moving tabs, patch by Frank Reininghaus.
This worked in kde3 because KonqMainWindow::slotPartActivated was called, but that
was a side effect, the active part does not change when moving tabs to the left/right.
BUG: 170442

svn path=/trunk/KDE/kdebase/apps/; revision=901061
This commit is contained in:
David Faure 2008-12-24 12:59:04 +00:00
parent 7c7ac1f3cc
commit d28be104d2

View file

@ -3977,6 +3977,8 @@ void KonqMainWindow::slotMoveTabLeft()
m_pViewManager->moveTabForward();
else
m_pViewManager->moveTabBackward();
updateViewActions();
}
void KonqMainWindow::slotMoveTabRight()
@ -3985,6 +3987,8 @@ void KonqMainWindow::slotMoveTabRight()
m_pViewManager->moveTabBackward();
else
m_pViewManager->moveTabForward();
updateViewActions();
}
void KonqMainWindow::updateHistoryActions()