Sfoglia il codice sorgente

Merge branch 'master' into expanded_TimeDate_scenario

Charlie Kindel 5 anni fa
parent
commit
c63fc8e8f4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Terminal.Gui/Core.cs

+ 1 - 1
Terminal.Gui/Core.cs

@@ -1650,7 +1650,7 @@ namespace Terminal.Gui {
 			int l = m ? 1 : 0;
 			ny = Math.Max (y, l);
 			if (SuperView == null || SuperView.GetType() != typeof(Toplevel))
-				s = Application.Top.HasStatusBar;
+				s = Application.Top.StatusBar != null;
 			else
 				s = ((Toplevel)SuperView).StatusBar != null;
 			l = s ? Driver.Rows - 1 : Driver.Rows;