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…
Reference in New Issue