Fix "Go To Settings" links in Style Configurator regression (from v8.8)

Regression is introduced by commit:
e45f72ae39

Fix #16592, close #16593
This commit is contained in:
xomx 2025-05-26 10:15:26 +02:00 committed by Don Ho
parent a10cebe2cd
commit 8bc77857a7

View File

@ -1068,6 +1068,8 @@ std::pair<intptr_t, intptr_t> WordStyleDlg::goToPreferencesSettings()
enum preferencesSectionPage { enum preferencesSectionPage {
general = 0, general = 0,
toolbar,
tabbar,
edit1, edit1,
edit2, edit2,
darkMode, darkMode,
@ -1164,7 +1166,7 @@ std::pair<intptr_t, intptr_t> WordStyleDlg::goToPreferencesSettings()
} }
else if (style._styleDesc == L"Inactive tabs") else if (style._styleDesc == L"Inactive tabs")
{ {
result.first = general; result.first = tabbar;
result.second = IDC_CHECK_DRAWINACTIVE; result.second = IDC_CHECK_DRAWINACTIVE;
} }
else if (style._styleDesc == g_npcStyleName) else if (style._styleDesc == g_npcStyleName)