From 89acb421e07e0d678eaf7737877015504fad9b75 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 23 May 2017 15:41:56 -0300 Subject: [PATCH] Remember ColorModeWindow position --- src/app/commands/cmd_change_pixel_format.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/commands/cmd_change_pixel_format.cpp b/src/app/commands/cmd_change_pixel_format.cpp index 155768d3f..63df49fbd 100644 --- a/src/app/commands/cmd_change_pixel_format.cpp +++ b/src/app/commands/cmd_change_pixel_format.cpp @@ -462,7 +462,10 @@ void ChangePixelFormatCommand::onExecute(Context* context) window.remapWindow(); window.centerWindow(); + load_window_pos(&window, "ChangePixelFormat"); window.openWindowInForeground(); + save_window_pos(&window, "ChangePixelFormat"); + if (window.closer() != window.ok()) return;