Explorar el Código

Fixes #4120. ConfigurationEditor is handle No button the same as Cancel button (#4121)

BDisp hace 3 meses
padre
commit
7490ac9776
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      Examples/UICatalog/Scenarios/ConfigurationEditor.cs

+ 3 - 1
Examples/UICatalog/Scenarios/ConfigurationEditor.cs

@@ -168,7 +168,9 @@ public class ConfigurationEditor : Scenario
 
                     break;
 
-                default:
+                case 1:
+                    // user decided not save changes
+                    break;
                 case -1 or 2:
                     // user cancelled
                     return;