mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
[USETUP]
Usetup does not properly return from quit+cancel. Patch by Ștefan Fulea. CORE-7783 #resolve #comment Thanks a lot! svn path=/trunk/; revision=61687
This commit is contained in:
@@ -482,6 +482,20 @@ ScrollUpGenericList (PGENERIC_LIST List)
|
||||
}
|
||||
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
@@ -69,6 +69,9 @@ ScrollPageUpGenericList(PGENERIC_LIST List);
|
||||
VOID
|
||||
ScrollToPositionGenericList (PGENERIC_LIST List, ULONG uIndex);
|
||||
|
||||
VOID
|
||||
RedrawGenericList(PGENERIC_LIST List);
|
||||
|
||||
VOID
|
||||
SetCurrentListEntry(PGENERIC_LIST List, PGENERIC_LIST_ENTRY Entry);
|
||||
|
||||
|
||||
@@ -676,6 +676,8 @@ LanguagePage(PINPUT_RECORD Ir)
|
||||
{
|
||||
if (ConfirmQuit(Ir) == TRUE)
|
||||
return QUIT_PAGE;
|
||||
else
|
||||
RedrawGenericList(LanguageList);
|
||||
}
|
||||
else if (Ir->Event.KeyEvent.uChar.AsciiChar == 0x0D) /* ENTER */
|
||||
{
|
||||
@@ -1354,7 +1356,7 @@ KeyboardSettingsPage(PINPUT_RECORD Ir)
|
||||
}
|
||||
}
|
||||
|
||||
return DISPLAY_SETTINGS_PAGE;
|
||||
return KEYBOARD_SETTINGS_PAGE;
|
||||
}
|
||||
|
||||
|
||||
@@ -1420,7 +1422,7 @@ LayoutSettingsPage(PINPUT_RECORD Ir)
|
||||
}
|
||||
}
|
||||
|
||||
return DISPLAY_SETTINGS_PAGE;
|
||||
return LAYOUT_SETTINGS_PAGE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user