aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/addon/libkviaddon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/addon/libkviaddon.cpp')
-rw-r--r--src/modules/addon/libkviaddon.cpp11
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;
}