mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fix scrolling to current tab when added from fullscreen mode
This commit is contained in:
parent
cce94944f7
commit
42eadaeb2f
@ -433,7 +433,9 @@ void TabBar::currentTabChanged(int index)
|
||||
showCloseButton(index);
|
||||
hideCloseButton(m_tabWidget->lastTabIndex());
|
||||
|
||||
ensureVisible(index);
|
||||
QTimer::singleShot(0, this, [=]() {
|
||||
ensureVisible(index);
|
||||
});
|
||||
}
|
||||
|
||||
m_tabWidget->currentTabChanged(index);
|
||||
|
Loading…
Reference in New Issue
Block a user