mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +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
@@ -470,7 +470,7 @@ namespace Artemis.Core.Services
|
||||
// Keep the profile from being rendered by locking it
|
||||
lock (profile)
|
||||
{
|
||||
if (!profile.UndoStack.Any())
|
||||
if (profile.UndoStack.Count == 0)
|
||||
{
|
||||
_logger.Debug("Undo profile update - Failed, undo stack empty");
|
||||
return false;
|
||||
@@ -496,7 +496,7 @@ namespace Artemis.Core.Services
|
||||
// Keep the profile from being rendered by locking it
|
||||
lock (profile)
|
||||
{
|
||||
if (!profile.RedoStack.Any())
|
||||
if (profile.RedoStack.Count == 0)
|
||||
{
|
||||
_logger.Debug("Redo profile update - Failed, redo empty");
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user