remove unused dialog
This commit is contained in:
@@ -21,11 +21,7 @@ public partial class SlnPicker : Control
|
||||
_openSlnButton = GetNode<Button>("%OpenSlnButton");
|
||||
_openSlnButton.Pressed += () => _fileDialog.PopupCentered();
|
||||
var windowParent = GetParentOrNull<Window>();
|
||||
_fileDialog.FileSelected += path =>
|
||||
{
|
||||
windowParent?.Hide();
|
||||
_tcs.SetResult(path);
|
||||
};
|
||||
_fileDialog.FileSelected += path => _tcs.SetResult(path);
|
||||
windowParent?.CloseRequested += () => _tcs.SetResult(null);
|
||||
}
|
||||
|
||||
|
||||
@@ -74,6 +74,7 @@ layout_mode = 2
|
||||
unique_name_in_owner = true
|
||||
oversampling_override = 1.0
|
||||
title = "Open a File"
|
||||
dialog_hide_on_ok = true
|
||||
file_mode = 0
|
||||
access = 2
|
||||
filters = PackedStringArray("*.sln,*.slnx;Solution Files")
|
||||
|
||||
Reference in New Issue
Block a user