Set the parent and driver on SetSource

This commit is contained in:
Paul Sanford
2018-05-21 20:41:52 -07:00
parent 80a888735f
commit 7254bbe7ce

View File

@@ -180,6 +180,8 @@ namespace Terminal.Gui {
if (source == null)
throw new ArgumentNullException (nameof (source));
Source = MakeWrapper (source);
((ListWrapper) Source).Container = this;
((ListWrapper) Source).Driver = Driver;
}
bool allowsMarking;