1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

[Regression] Fixed restoring current tab.

Regression from 38c4d347c9
This commit is contained in:
nowrep 2013-02-11 11:02:42 +01:00
parent 76f324549e
commit 3b4d2f5534

View File

@ -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();
}
}
}