mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-22 21:34:58 +02:00
Merge branch 'fix_13228' of https://github.com/ArkadiuszMichalski/notepad-plus-plus into ArkadiuszMichalski-fix_13228
This commit is contained in:
commit
7c848e89e4
@ -655,6 +655,8 @@ void NativeLangSpeaker::changeUserDefineLang(UserDefineDialog *userDefineDlg)
|
|||||||
if (hItem)
|
if (hItem)
|
||||||
{
|
{
|
||||||
const wchar_t *nameW = wmc.char2wchar(name, _nativeLangEncoding);
|
const wchar_t *nameW = wmc.char2wchar(name, _nativeLangEncoding);
|
||||||
|
if (id == IDC_DOCK_BUTTON && userDefineDlg->isDocked())
|
||||||
|
nameW = getAttrNameByIdStr(TEXT("Undock"), userDefineDlgNode, std::to_string(IDC_UNDOCK_BUTTON).c_str()).c_str();
|
||||||
::SetWindowText(hItem, nameW);
|
::SetWindowText(hItem, nameW);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user