From 2d4ecb80ecb0e92689f42091ccc269574da0a4da Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Fri, 20 Sep 2013 10:18:54 +0100 Subject: [PATCH] The sorting button now gets window focus on launch. --- src/gui/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 7c98801c..ffad6fb3 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -428,6 +428,8 @@ Launcher::Launcher(const wxChar *title, YAML::Node& settings, Game& game, vector SetBackgroundColour(wxColour(255,255,255)); SetSizerAndFit(buttonBox); SetSize(wxSize(250, 200)); + + SortButton->SetFocus(); } //Called when the frame exits.