mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
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:
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()
|
||||
|
||||
Reference in new issue
Block a user