Move Godot events to instance
This commit is contained in:
@@ -27,7 +27,7 @@ public partial class SearchResultComponent : MarginContainer
|
||||
private void OnButtonPressed()
|
||||
{
|
||||
var fileLinePosition = new SharpIdeFileLinePosition { Line = Result.Line, Column = Result.StartColumn };
|
||||
GodotGlobalEvents.InvokeFileExternallySelected(Result.File, fileLinePosition);
|
||||
GodotGlobalEvents.Instance.InvokeFileExternallySelected(Result.File, fileLinePosition);
|
||||
ParentSearchWindow.Hide();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user