aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/raweditor/libkviraweditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/raweditor/libkviraweditor.cpp')
-rw-r--r--src/modules/raweditor/libkviraweditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/raweditor/libkviraweditor.cpp b/src/modules/raweditor/libkviraweditor.cpp
index 2ebf9ebf1..350c3fbbe 100644
--- a/src/modules/raweditor/libkviraweditor.cpp
+++ b/src/modules/raweditor/libkviraweditor.cpp
@@ -71,8 +71,8 @@ static bool raweditor_module_can_unload(KviModule *)
static bool raweditor_module_cleanup(KviModule *)
{
- if(g_pRawEditorWindow && g_pFrame)
- g_pFrame->closeWindow(g_pRawEditorWindow);
+ if(g_pRawEditorWindow && g_pMainWindow)
+ g_pMainWindow->closeWindow(g_pRawEditorWindow);
g_pRawEditorWindow = 0;
return true;
}