Browse Source

Fixed CommandDebugPopup.xaml.cs icon evaluation

CPKreuz 2 years ago
parent
commit
4a54fd9bec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/PixiEditor/Views/Dialogs/CommandDebugPopup.xaml.cs

+ 1 - 1
src/PixiEditor/Views/Dialogs/CommandDebugPopup.xaml.cs

@@ -41,7 +41,7 @@ public partial class CommandDebugPopup : Window
 
             try
             {
-                image = command.GetIcon();
+                image = command.IconEvaluator.CallEvaluate(command, null);
             }
             catch (Exception e)
             {