From 8bc77857a7d0fa6d3a73184a365ecb1f39a11a03 Mon Sep 17 00:00:00 2001 From: xomx Date: Mon, 26 May 2025 10:15:26 +0200 Subject: [PATCH] Fix "Go To Settings" links in Style Configurator regression (from v8.8) Regression is introduced by commit: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/e45f72ae390c7672d9448769cff10c6ad9bcb63e Fix #16592, close #16593 --- PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp b/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp index d91d6d5a9..c6b580267 100644 --- a/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp +++ b/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp @@ -1068,6 +1068,8 @@ std::pair WordStyleDlg::goToPreferencesSettings() enum preferencesSectionPage { general = 0, + toolbar, + tabbar, edit1, edit2, darkMode, @@ -1164,7 +1166,7 @@ std::pair WordStyleDlg::goToPreferencesSettings() } else if (style._styleDesc == L"Inactive tabs") { - result.first = general; + result.first = tabbar; result.second = IDC_CHECK_DRAWINACTIVE; } else if (style._styleDesc == g_npcStyleName)