UI - Fix possible exception when showing dialogs

Profile editor - Limit undo/redo to 20 actions for now
Plugins - Fix custom icons not displaying in settings windows
This commit is contained in:
Robert committed 2021-07-06 23:45:34 +02:00
1 parent 631d8de2c3
commit 4034f438ed
7 files changed
+143 -13

No files matched your search

@@ -122,7 +122,7 @@ namespace Artemis.UI.Shared.Services
public void ShowExceptionDialog(string message, Exception exception)
{
if (exception == null) throw new ArgumentNullException(nameof(exception));
_windowManager.ShowDialog(new ExceptionViewModel(message, exception));
Execute.OnUIThread(() => _windowManager.ShowDialog(new ExceptionViewModel(message, exception)));
}
private IKernel GetBestKernel()