1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 15:46:05 +02:00

Null check

This commit is contained in:
Brian Fiete 2023-01-26 10:54:49 -05:00
parent 06ac941471
commit 20b1827632

View file

@ -3912,6 +3912,8 @@ namespace IDE
if (!nextTabbedView.mWidgetWindow.mHasFocus)
nextTabbedView.mWidgetWindow.SetForeground();
var activeTab = nextTabbedView.GetActiveTab();
if (activeTab != null)
{
activeTab.Activate();
if (let sourceViewPanel = activeTab.mContent as SourceViewPanel)
@ -3920,6 +3922,7 @@ namespace IDE
}
}
}
}
[IDECommand]
public void Cmd_ShowCurrent()