Restore object state for save/abort buttons.
This commit is contained in:
parent
42bb902a7d
commit
fb8cc34e9c
|
@ -273,10 +273,14 @@ static void form_event(int index, int external)
|
|||
switch(index) {
|
||||
|
||||
case SETTINGS_SAVE:
|
||||
OBJ_UNCHECK(index);
|
||||
OBJ_REDRAW(index);
|
||||
save_settings();
|
||||
break;
|
||||
|
||||
case SETTINGS_ABORT:
|
||||
OBJ_UNCHECK(index);
|
||||
OBJ_REDRAW(index);
|
||||
close_settings();
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue