瀏覽代碼

disabled application.loaded in combobox in attempt to determine why unrelated tests are failing

Charlie Kindel 5 年之前
父節點
當前提交
606b39f449
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Terminal.Gui/Views/ComboBox.cs

+ 2 - 1
Terminal.Gui/Views/ComboBox.cs

@@ -122,6 +122,7 @@ namespace Terminal.Gui {
 					SetValue ((ustring)searchset [listview.SelectedItem]);
 			};
 
+#if false
 			Application.Loaded += (Application.ResizedEventArgs a) => {
 				// Determine if this view is hosted inside a dialog
 				for (View view = this.SuperView; view != null; view = view.SuperView) {
@@ -168,7 +169,7 @@ namespace Terminal.Gui {
 				else
 					search.ColorScheme = Colors.Menu;
 			};
-
+#endif
 			search.MouseClick += Search_MouseClick;
 
 			this.Add(listview, search);