commit eada515538eb5f0a63f31c15c04b6dfa56934f46
parent 72a2fe3c7b0fd1392561eaaf640fe43c4db57cf1
Author: cfillion <cfillion@users.noreply.github.com>
Date: Thu, 6 Jan 2022 01:49:45 -0500
browser: fix typing parentheses in the filter box
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/browser.cpp b/src/browser.cpp
@@ -212,7 +212,7 @@ void Browser::onCommand(const int id, const int event)
bool Browser::onKeyDown(const int key, const int mods)
{
if(GetFocus() != m_list->handle()) {
- if(key == VK_UP || key == VK_DOWN)
+ if(mods == 0 && (key == VK_UP || key == VK_DOWN))
SetFocus(m_list->handle());
return false;