diff options
Diffstat (limited to 'src/modules/raweditor')
| -rw-r--r-- | src/modules/raweditor/libkviraweditor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/raweditor/libkviraweditor.cpp b/src/modules/raweditor/libkviraweditor.cpp index 633bb9458..6f91d7f03 100644 --- a/src/modules/raweditor/libkviraweditor.cpp +++ b/src/modules/raweditor/libkviraweditor.cpp @@ -71,7 +71,8 @@ static bool raweditor_module_can_unload(KviModule *) static bool raweditor_module_cleanup(KviModule *) { - if(g_pRawEditorWindow)delete g_pRawEditorWindow; + if(g_pRawEditorWindow && g_pFrame) + g_pFrame->closeWindow(g_pRawEditorWindow); g_pRawEditorWindow = 0; return true; } |
