فهرست منبع

Revert "Trying fixing the build action."

This reverts commit e96f01738738c56c49b700d36ee662fb40a11896.
BDisp 3 سال پیش
والد
کامیت
f96c63f57e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Terminal.Gui/Core/Application.cs

+ 2 - 2
Terminal.Gui/Core/Application.cs

@@ -1203,8 +1203,8 @@ namespace Terminal.Gui {
 			if (MdiTop != null && !Current.Modal) {
 				lock (toplevels) {
 					toplevels.MoveNext ();
-					bool isMdi;
-					while (isMdi = toplevels.Peek () == MdiTop || !toplevels.Peek ().Visible) {
+					var isMdi = false;
+					while (toplevels.Peek () == MdiTop || !toplevels.Peek ().Visible) {
 						if (!isMdi && toplevels.Peek () == MdiTop) {
 							isMdi = true;
 						} else if (isMdi && toplevels.Peek () == MdiTop) {