summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-06-08 20:23:52 +0200
committerCarl Hetherington <cth@carlh.net>2020-06-08 20:23:52 +0200
commit50867503392d71ba2372e401ed4e54ffbb471fc7 (patch)
tree8a5b35189cc4cb8d2f0b846f0440349b22871db3
parenta98c4b8044f9aa60bb2877dcb13e84852be28371 (diff)
Set focus on opening dialog.
-rw-r--r--src/wx/rating_dialog.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/rating_dialog.cc b/src/wx/rating_dialog.cc
index 4fba353b7..6f574e83b 100644
--- a/src/wx/rating_dialog.cc
+++ b/src/wx/rating_dialog.cc
@@ -33,6 +33,8 @@ RatingDialog::RatingDialog (wxWindow* parent)
add (_label);
layout ();
+
+ _agency->SetFocus ();
}
void