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

Only brings ErrorListPad to front in case of be loaded in Workbench #9121

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion main/src/addins/MacPlatform/MainToolbar/StatusBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,12 @@ void ResizeToFit ()

public override void MouseDown (NSEvent theEvent)
{
IdeApp.Workbench.GetPad<MonoDevelop.Ide.Gui.Pads.ErrorListPad> ().BringToFront ();
try {
IdeApp.Workbench.GetPad<MonoDevelop.Ide.Gui.Pads.ErrorListPad> ()
.BringToFront ();
} catch (Exception ex) {
LoggingService.LogInternalError (ex);
}
}

string INSAccessibilityStaticText.AccessibilityValue {
Expand Down