mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
parent
76f324549e
commit
3b4d2f5534
@ -111,7 +111,12 @@ TabbedWebView* WebTab::view() const
|
||||
void WebTab::setCurrentTab()
|
||||
{
|
||||
if (!isRestored()) {
|
||||
QTimer::singleShot(0, this, SLOT(slotRestore()));
|
||||
if (isVisible()) {
|
||||
QTimer::singleShot(0, this, SLOT(slotRestore()));
|
||||
}
|
||||
else {
|
||||
slotRestore();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user