mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 11:16:30 +00:00
fix security 2
This commit is contained in:
@@ -145,9 +145,6 @@ public partial class App
|
||||
StartMain();
|
||||
_host.Start();
|
||||
EventManager.RegisterClassHandler(typeof(UIElement), UIElement.PreviewKeyDownEvent, new RoutedEventHandler(GlobalKeyHandler));
|
||||
var datasetExplorer = _host.Services.GetRequiredService<DatasetExplorer>();
|
||||
datasetExplorer.Show();
|
||||
datasetExplorer.Hide();
|
||||
_host.Services.GetRequiredService<MainSuite>().Show();
|
||||
};
|
||||
login.Closed += (sender, args) =>
|
||||
@@ -233,6 +230,9 @@ public partial class App
|
||||
.Build();
|
||||
|
||||
Annotation.InitializeDirs(_host.Services.GetRequiredService<IOptions<DirectoriesConfig>>().Value);
|
||||
var datasetExplorer = _host.Services.GetRequiredService<DatasetExplorer>();
|
||||
datasetExplorer.Show();
|
||||
datasetExplorer.Hide();
|
||||
|
||||
_mediator = _host.Services.GetRequiredService<IMediator>();
|
||||
if (!string.IsNullOrEmpty(_loadErrors))
|
||||
|
||||
Reference in New Issue
Block a user