diff options
Diffstat (limited to 'src/modules/actioneditor/libkviactioneditor.cpp')
| -rw-r--r-- | src/modules/actioneditor/libkviactioneditor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/actioneditor/libkviactioneditor.cpp b/src/modules/actioneditor/libkviactioneditor.cpp index b4c058318..569f547ad 100644 --- a/src/modules/actioneditor/libkviactioneditor.cpp +++ b/src/modules/actioneditor/libkviactioneditor.cpp @@ -45,12 +45,12 @@ ActionEditorWindow * g_pActionEditorWindow = 0; Opens the script action editor dialog. */ -static bool actioneditor_kvs_cmd_open(KviKvsModuleCommandCall * c) +static bool actioneditor_kvs_cmd_open(KviKvsModuleCommandCall *) { if(!g_pActionEditorWindow) { - g_pActionEditorWindow = new ActionEditorWindow(c->window()->frame()); - c->window()->frame()->addWindow(g_pActionEditorWindow); + g_pActionEditorWindow = new ActionEditorWindow(); + g_pMainWindow->addWindow(g_pActionEditorWindow); } g_pActionEditorWindow->setFocus(); |
