diff --git a/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp b/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp index 7fd4f671a..feae152c2 100644 --- a/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp +++ b/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp @@ -4405,7 +4405,7 @@ intptr_t CALLBACK LanguageSubDlg::run_dlgProc(UINT message, WPARAM wParam, LPARA // for (int i = L_TEXT ; i < nppParam.L_END ; ++i) { - if (static_cast(i) != L_USER) + if (static_cast(i) != L_USER && static_cast(i) != L_JS_EMBEDDED) { int cmdID = nppParam.langTypeToCommandID(static_cast(i)); if ((cmdID != -1))