Merge pull request #852 from Nekokabu/patch-2
Fix dialog when enable RDB edit mode
This commit is contained in:
commit
2b5ac8ed67
|
@ -112,9 +112,10 @@ LRESULT CSettingConfig::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*
|
|||
{
|
||||
if (g_Settings->LoadBool(Setting_RdbEditor))
|
||||
{
|
||||
SetWindowText(stdstr_f("%ws ** RDB Edit Mode **", GS(OPTIONS_TITLE)).c_str());
|
||||
SetWindowTextW(m_hWnd, stdstr_f("%s ** RDB Edit Mode **", GS(OPTIONS_TITLE)).ToUTF16().c_str());
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
::SetWindowTextW(m_hWnd, wGS(OPTIONS_TITLE).c_str());
|
||||
}
|
||||
|
||||
|
@ -340,4 +341,4 @@ void CSettingConfig::BoldChangedPages(HTREEITEM hItem)
|
|||
::EnableWindow(GetDlgItem(IDC_RESET_ALL), true);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue