Expand cinema when adding a screen in the KDM window.
authorCarl Hetherington <cth@carlh.net>
Wed, 5 Aug 2015 17:18:32 +0000 (18:18 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 5 Aug 2015 17:18:32 +0000 (18:18 +0100)
src/wx/kdm_dialog.cc

index 958fb63ab3866481f3e71398bb1150ed22b63251..8d629b662ee9af315fe1f0fe1acfb61656d28110 100644 (file)
@@ -305,6 +305,7 @@ KDMDialog::add_screen (shared_ptr<Cinema> c, shared_ptr<Screen> s)
        }
 
        _screens[_targets->AppendItem (i->first, std_to_wx (s->name))] = s;
        }
 
        _screens[_targets->AppendItem (i->first, std_to_wx (s->name))] = s;
+       _targets->Expand (i->first);
 }
 
 void
 }
 
 void