Skip to content

Commit

Permalink
Remember ColorModeWindow position
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed May 23, 2017
1 parent 4fc19c5 commit 89acb42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/commands/cmd_change_pixel_format.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 89acb42

Please sign in to comment.