1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Small IDE fixes

This commit is contained in:
Brian Fiete 2019-09-10 11:26:14 -07:00
parent 463e26ff75
commit 2f01da9e86
2 changed files with 8 additions and 1 deletions

View file

@ -5953,7 +5953,9 @@ namespace IDE.ui
{ {
if (mProjectSource.mProject.mLocked && mProjectSource.mProject.mLockedDefault) 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.mWindowFlags |= .Modal;
dialog.AddYesNoButtons(new (dlg) => dialog.AddYesNoButtons(new (dlg) =>
{ {

View file

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