Skip to content

Commit 7490ac9

Browse files
authored
Fixes #4120. ConfigurationEditor is handle No button the same as Cancel button (#4121)
1 parent 38c1182 commit 7490ac9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Examples/UICatalog/Scenarios/ConfigurationEditor.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ private void Quit ()
168168

169169
break;
170170

171-
default:
171+
case 1:
172+
// user decided not save changes
173+
break;
172174
case -1 or 2:
173175
// user cancelled
174176
return;

0 commit comments

Comments
 (0)