Usetup does not properly return from quit+cancel. Patch by Ștefan Fulea.
CORE-7783 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=61687
}
+VOID
+RedrawGenericList(PGENERIC_LIST List)
+{
+ if (List->CurrentEntry == NULL)
+ return;
+
+ if (List->Redraw)
+ {
+ DrawListEntries(List);
+ DrawScrollBarGenericList(List);
+ }
+}
+
+
VOID
SetCurrentListEntry(PGENERIC_LIST List, PGENERIC_LIST_ENTRY Entry)
{
VOID
ScrollToPositionGenericList (PGENERIC_LIST List, ULONG uIndex);
+VOID
+RedrawGenericList(PGENERIC_LIST List);
+
VOID
SetCurrentListEntry(PGENERIC_LIST List, PGENERIC_LIST_ENTRY Entry);
{
if (ConfirmQuit(Ir) == TRUE)
return QUIT_PAGE;
+ else
+ RedrawGenericList(LanguageList);
}
else if (Ir->Event.KeyEvent.uChar.AsciiChar == 0x0D) /* ENTER */
{
}
}
- return DISPLAY_SETTINGS_PAGE;
+ return KEYBOARD_SETTINGS_PAGE;
}
}
}
- return DISPLAY_SETTINGS_PAGE;
+ return LAYOUT_SETTINGS_PAGE;
}