Restore object state for save/abort buttons.

This commit is contained in:
Ole Loots 2013-01-18 01:18:04 +01:00
parent 42bb902a7d
commit fb8cc34e9c
1 changed files with 4 additions and 0 deletions

View File

@ -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;