diff options
| author | 2010-10-18 10:26:31 +0000 | |
|---|---|---|
| committer | 2010-10-18 10:26:31 +0000 | |
| commit | 580281126e8770dc35104bd8c3130b7cc0698988 (patch) | |
| tree | a11824ace4d761f3eded4249c0385822e29589a7 /src/modules/addon/libkviaddon.cpp | |
| parent | added shortcut ctrl+0 for "restore default font and size in the ircview" , tr... (diff) | |
| download | KVIrc-580281126e8770dc35104bd8c3130b7cc0698988.tar.gz KVIrc-580281126e8770dc35104bd8c3130b7cc0698988.tar.bz2 KVIrc-580281126e8770dc35104bd8c3130b7cc0698988.zip | |
fix for #976
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5090 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/addon/libkviaddon.cpp')
| -rw-r--r-- | src/modules/addon/libkviaddon.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/modules/addon/libkviaddon.cpp b/src/modules/addon/libkviaddon.cpp index 6bfe7bedf..e3a50677d 100644 --- a/src/modules/addon/libkviaddon.cpp +++ b/src/modules/addon/libkviaddon.cpp @@ -765,14 +765,17 @@ static bool addon_kvs_cmd_installfiles(KviKvsModuleCommandCall * c) @short: Shows the addon addon management editor @syntax: - addon.dialog + addon.dialog [-t] @description: - Shows the addon addon management editor + Shows the addon addon management editor.[br] + If the [-t] switch is used, the dialog is opened as toplevel window, + otherwise it is opened as part of the current frame window.[br] */ -static bool addon_kvs_cmd_dialog(KviKvsModuleCommandCall *) +static bool addon_kvs_cmd_dialog(KviKvsModuleCommandCall *c) { - KviScriptManagementDialog::display(); + + KviScriptManagementDialog::display(c->hasSwitch('t',"toplevel")); return true; } |
