From 8a25d02638a3fc52fa3d0521d33f5c0bd0dcd368 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Tue, 23 Sep 2014 17:41:04 +0200 Subject: Testing config file creation on windows XP. --- plugingui/plugingui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui') diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc index 7dd2ba6..2dd93f9 100644 --- a/plugingui/plugingui.cc +++ b/plugingui/plugingui.cc @@ -281,11 +281,11 @@ void PluginGUI::thread_main() void PluginGUI::deinit() { - if(window) delete window; if(config) { config->save(); delete config; } + if(window) delete window; } void closeEventHandler(void *ptr) -- cgit v1.2.3