mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[Qt5] Fixed hiding close button on current tab when dragging it
[ci skip]
This commit is contained in:
parent
e598ee1230
commit
6812e020d6
|
@ -443,10 +443,13 @@ void TabBar::currentTabChanged(int index)
|
|||
|
||||
hideTabPreview(false);
|
||||
|
||||
// Don't hide close buttons when dragging tabs
|
||||
if (m_dragStartPosition.isNull()) {
|
||||
showCloseButton(index);
|
||||
hideCloseButton(m_tabWidget->lastTabIndex());
|
||||
|
||||
ensureVisible(index);
|
||||
}
|
||||
|
||||
m_tabWidget->currentTabChanged(index);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user