mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[ComboTabBar] Don't scroll to current tab on window focus change
This commit is contained in:
parent
252c55dd2b
commit
7bd48d6674
|
@ -764,7 +764,9 @@ void ComboTabBar::setMinimumWidths()
|
|||
|
||||
void ComboTabBar::showEvent(QShowEvent* event)
|
||||
{
|
||||
if (!event->spontaneous()) {
|
||||
QTimer::singleShot(0, this, SLOT(setUpLayout()));
|
||||
}
|
||||
|
||||
QWidget::showEvent(event);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user