Moved the call to win_load_icon_set(), should fix the bug of no icon in the Settings dialog in the Settings-only mode, closes #1844.
This commit is contained in:
@@ -1270,6 +1270,9 @@ ui_init(int nCmdShow)
|
||||
tdconfig.pButtons = tdbuttons;
|
||||
tdconfig.pfCallback = TaskDialogProcedure;
|
||||
|
||||
/* Load the desired iconset */
|
||||
win_load_icon_set();
|
||||
|
||||
/* Start settings-only mode if requested. */
|
||||
if (settings_only) {
|
||||
if (! pc_init_modules()) {
|
||||
@@ -1404,9 +1407,6 @@ ui_init(int nCmdShow)
|
||||
ResetAllMenus();
|
||||
media_menu_init();
|
||||
|
||||
/* Load the desired iconset */
|
||||
win_load_icon_set();
|
||||
|
||||
/* Make the window visible on the screen. */
|
||||
ShowWindow(hwnd, nCmdShow);
|
||||
|
||||
|
Reference in New Issue
Block a user