mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 00:41:23 +00:00
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:
parent
7c7ac1f3cc
commit
d28be104d2
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue