diff options
Diffstat (limited to 'src/modules/eventeditor/libkvieventeditor.cpp')
| -rw-r--r-- | src/modules/eventeditor/libkvieventeditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/eventeditor/libkvieventeditor.cpp b/src/modules/eventeditor/libkvieventeditor.cpp index 5f69b618f..cbde52a4c 100644 --- a/src/modules/eventeditor/libkvieventeditor.cpp +++ b/src/modules/eventeditor/libkvieventeditor.cpp @@ -73,8 +73,8 @@ static bool eventeditor_module_can_unload(KviModule *) static bool eventeditor_module_cleanup(KviModule *) { - if(g_pEventEditorWindow && g_pFrame) - g_pFrame->closeWindow(g_pEventEditorWindow); + if(g_pEventEditorWindow && g_pMainWindow) + g_pMainWindow->closeWindow(g_pEventEditorWindow); g_pEventEditorWindow = 0; return true; } |
