diff options
| author | 2017-03-02 16:30:58 +0100 | |
|---|---|---|
| committer | 2017-03-02 16:30:58 +0100 | |
| commit | 4dd690f4b86cd687bb47f1cfa328fa45df5e3429 (patch) | |
| tree | dbcb224cad63a85cf221252b97cd6d9abb51acea /src/modules/help/libkvihelp.cpp | |
| parent | KviWindowListBase: Add ability to close classic window list buttons with midd... (diff) | |
| download | KVIrc-4dd690f4b86cd687bb47f1cfa328fa45df5e3429.tar.gz KVIrc-4dd690f4b86cd687bb47f1cfa328fa45df5e3429.tar.bz2 KVIrc-4dd690f4b86cd687bb47f1cfa328fa45df5e3429.zip | |
switch to the correct window even if it's open already
Diffstat (limited to 'src/modules/help/libkvihelp.cpp')
| -rw-r--r-- | src/modules/help/libkvihelp.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/help/libkvihelp.cpp b/src/modules/help/libkvihelp.cpp index 03dc93b3a..74b3ba102 100644 --- a/src/modules/help/libkvihelp.cpp +++ b/src/modules/help/libkvihelp.cpp @@ -189,6 +189,9 @@ static bool help_kvs_cmd_open(KviKvsModuleCommandCall * c) #else w->textBrowser()->setSource(QUrl::fromLocalFile(f.absoluteFilePath())); #endif + HelpWindow * pHelpWindow = g_pHelpWindowList->first(); + if (pHelpWindow) + pHelpWindow->delayedAutoRaise(); return true; } } |
