diff options
-rw-r--r-- | src/application.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 366191f4..0fead4a6 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -167,7 +167,14 @@ int Application::newInstance() if (index > 0) { MainWindow *m = m_mainWindows.at(index - 1).data(); - m->activateWindow(); + if(m->isMinimized()) + m->showNormal(); + if( !m->isActiveWindow() ) + { + m->activateWindow(); + m->raise(); + } + Q_FOREACH(const KUrl &u, urlList) loadUrl(u, Rekonq::NewCurrentTab); } |