mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 15:24:10 +02:00
Null check
This commit is contained in:
parent
06ac941471
commit
20b1827632
1 changed files with 7 additions and 4 deletions
|
@ -3912,11 +3912,14 @@ namespace IDE
|
|||
if (!nextTabbedView.mWidgetWindow.mHasFocus)
|
||||
nextTabbedView.mWidgetWindow.SetForeground();
|
||||
var activeTab = nextTabbedView.GetActiveTab();
|
||||
activeTab.Activate();
|
||||
|
||||
if (let sourceViewPanel = activeTab.mContent as SourceViewPanel)
|
||||
if (activeTab != null)
|
||||
{
|
||||
sourceViewPanel.HilitePosition(.Always);
|
||||
activeTab.Activate();
|
||||
|
||||
if (let sourceViewPanel = activeTab.mContent as SourceViewPanel)
|
||||
{
|
||||
sourceViewPanel.HilitePosition(.Always);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue