mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
parent
76f324549e
commit
3b4d2f5534
@ -111,7 +111,12 @@ TabbedWebView* WebTab::view() const
|
|||||||
void WebTab::setCurrentTab()
|
void WebTab::setCurrentTab()
|
||||||
{
|
{
|
||||||
if (!isRestored()) {
|
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