Settings: Make ImGuiWindow settings always first in the list.

This commit is contained in:
omar 2017-11-28 00:33:12 +01:00
parent 4c4f1b0224
commit e5ebe42207

View File

@ -2537,7 +2537,7 @@ void ImGui::Initialize()
ini_handler.ReadOpenEntryFn = SettingsHandlerWindow_ReadOpenEntry;
ini_handler.ReadLineFn = SettingsHandlerWindow_ReadLine;
ini_handler.WriteAllFn = SettingsHandlerWindow_WriteAll;
g.SettingsHandlers.push_back(ini_handler);
g.SettingsHandlers.push_front(ini_handler);
// Load .ini file
IM_ASSERT(g.SettingsWindows.empty());