Remember ColorModeWindow position

This commit is contained in:
David Capello 2017-05-23 15:41:56 -03:00
parent 4fc19c5466
commit 89acb421e0

View File

@ -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;