Fix dialog when enable RDB edit mode
This commit is contained in:
parent
05602d1939
commit
53ddd7e78c
|
@ -112,9 +112,10 @@ LRESULT CSettingConfig::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*
|
||||||
{
|
{
|
||||||
if (g_Settings->LoadBool(Setting_RdbEditor))
|
if (g_Settings->LoadBool(Setting_RdbEditor))
|
||||||
{
|
{
|
||||||
SetWindowText(stdstr_f("%ws ** RDB Edit Mode **", GS(OPTIONS_TITLE)).c_str());
|
::SetWindowTextW(m_hWnd, stdwstr_f(L"%ws ** RDB Edit Mode **", wGS(OPTIONS_TITLE).c_str() ).c_str());
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
::SetWindowTextW(m_hWnd, wGS(OPTIONS_TITLE).c_str());
|
::SetWindowTextW(m_hWnd, wGS(OPTIONS_TITLE).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue