소스 검색

Deferred ShowOuput, fixed double-output window

Brian Fiete 5 년 전
부모
커밋
07df54ddba
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 8 1
      IDE/src/IDEApp.bf

+ 8 - 1
IDE/src/IDEApp.bf

@@ -168,6 +168,7 @@ namespace IDE
         public Image mTransparencyGridImage ~ delete _;
         public Image mSquiggleImage ~ delete _;
         public Image mCircleImage ~ delete _;
+		public bool mWantShowOutput;
 
         public OutputPanel mOutputPanel;
         public ImmediatePanel mImmediatePanel;
@@ -6692,7 +6693,7 @@ namespace IDE
 
 		public void OutputErrorLine(String format, params Object[] args)
 		{
-			ShowOutput();
+			mWantShowOutput = true;
 			var errStr = scope String();
 			errStr.Append("ERROR: ", format);
 			OutputLineSmart(errStr, params args);
@@ -12402,6 +12403,12 @@ namespace IDE
 
 			}*/
 
+			if (mWantShowOutput)
+			{
+				ShowOutput();
+				mWantShowOutput = false;
+			}
+
 			if (mDbgFastUpdate)
 			{
 				RefreshRate = 240;