diff options
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/srmm_base.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp index 720bc58f27..730809af5f 100644 --- a/src/mir_app/src/srmm_base.cpp +++ b/src/mir_app/src/srmm_base.cpp @@ -182,9 +182,14 @@ LRESULT CSrmmBaseDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) return 1; break; } + break; case WM_SYSKEYDOWN: case WM_KEYDOWN: + if (wParam == VK_BACK) + if (m_message.GetRichTextLength() == 0) + return 1; + MSG tmp = { m_hwnd, msg, wParam, lParam }; if (Hotkey_Check(&tmp, g_pszHotkeySection) == 100) { if (!(GetWindowLongPtr(m_message.GetHwnd(), GWL_STYLE) & ES_READONLY)) { |