mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-21 12:54:42 +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)
|
||||
{
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user