Include tidying.
[dcpomatic.git] / src / wx / kdm_dialog.cc
index 958fb63ab3866481f3e71398bb1150ed22b63251..7046c160e58b4f1513d694119db27175cdb948c9 100644 (file)
@@ -24,6 +24,7 @@
 #include "lib/cinema.h"
 #include "lib/config.h"
 #include "lib/film.h"
+#include "lib/screen.h"
 #include <libcxml/cxml.h>
 #ifdef DCPOMATIC_USE_OWN_DIR_PICKER
 #include "dir_picker_ctrl.h"
@@ -305,6 +306,7 @@ KDMDialog::add_screen (shared_ptr<Cinema> c, shared_ptr<Screen> s)
        }
 
        _screens[_targets->AppendItem (i->first, std_to_wx (s->name))] = s;
+       _targets->Expand (i->first);
 }
 
 void