Fix issue #3532 + a memory leak

This commit is contained in:
Hombre
2016-12-27 14:31:55 +01:00
parent c90b701999
commit 95f0d67dfe
3 changed files with 5 additions and 6 deletions

View File

@@ -690,8 +690,7 @@ bool RTWindow::on_delete_event(GdkEventAny* event)
ProfilePanel::cleanup();
if (!options.windowMaximized) {
options.windowWidth = get_width();
options.windowHeight = get_height();
get_size(options.windowWidth, options.windowHeight);
get_position (options.windowX, options.windowY);
}