Sort cinemas in screens panel (#726).
authorCarl Hetherington <cth@carlh.net>
Fri, 6 Nov 2015 21:04:14 +0000 (21:04 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 6 Nov 2015 21:04:14 +0000 (21:04 +0000)
ChangeLog
src/wx/screens_panel.cc

index 75ba6077f2b7fd142bd69c80ea9d5eaa8e4acf1e..afd9ff99a0c4040d466a7a2cd2773872ccd4d082 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-06  Carl Hetherington  <cth@carlh.net>
+
+       * Sort cinemas in KDM dialog and standalone creator (#726).
+
 2015-11-06  c.hetherington  <cth@carlh.net>
 
        * Updated ru_RU translation from Igor Voytovich.
index 2130600e4197b5f7b099fb86be5519f90cfe78fa..5bdfe6c6ca061fc2f75f0ec33e9a05941626a6f4 100644 (file)
@@ -146,6 +146,8 @@ ScreensPanel::add_cinema (shared_ptr<Cinema> c)
        for (list<shared_ptr<Screen> >::iterator i = sc.begin(); i != sc.end(); ++i) {
                add_screen (c, *i);
        }
+
+       _targets->SortChildren (_root);
 }
 
 void