Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit a46255b

Browse files
mkruegerTherzok
authored andcommitted
[Ide] Fixed possible null reference exception. (#9003)
Fixes VSTS #1005254 - File content isn't displayed after opening
1 parent 04ecec8 commit a46255b

File tree

1 file changed

+1
-1
lines changed
  • main/src/core/MonoDevelop.Ide/MonoDevelop.Components

1 file changed

+1
-1
lines changed

main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Tabstrip.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ public bool Active {
489489

490490
void UpdateAccessibility ()
491491
{
492-
Accessible.SetRole (AtkCocoa.Roles.AXRadioButton, active ? "active tab" : "tab");
492+
Accessible?.SetRole (AtkCocoa.Roles.AXRadioButton, active ? "active tab" : "tab");
493493
}
494494

495495
public bool IsSeparator {

0 commit comments

Comments
 (0)