2
0
Brian Fiete 6 жил өмнө
parent
commit
2f01da9e86

+ 3 - 1
IDE/src/ui/SourceViewPanel.bf

@@ -5953,7 +5953,9 @@ namespace IDE.ui
 						{
 							if (mProjectSource.mProject.mLocked && mProjectSource.mProject.mLockedDefault)
 							{
-								let dialog = new DarkDialog("Unlock Project?", "This project is locked because it may be a shared library, and editing shared libraries may have unwanted effects on other programs that use it.\n\nAre you sure you want to unlock it?");
+								let dialog = new DarkDialog("Unlock Project?",
+									"This project is locked because it may be a shared library, and editing shared libraries may have unwanted effects on other programs that use it.\n\nAre you sure you want to unlock it?",
+									DarkTheme.sDarkTheme.mIconWarning);
 								dialog.mWindowFlags |= .Modal;
 								dialog.AddYesNoButtons(new (dlg) =>
 									{

+ 5 - 0
IDE/src/ui/WatchPanel.bf

@@ -775,6 +775,11 @@ namespace IDE.ui
 
 			return true;
 		}
+
+		protected override void RemovedFromWindow()
+		{
+			base.RemovedFromWindow();
+		}
     }
 
     public class WatchListViewItem : IDEListViewItem