Skip to content
Browse files

Disable the use of zero as an search inverter. Fixes #9858

  • Loading branch information...
1 parent c64efc1 commit 03cedf88465fe9c26bde01093723aeb54e1cb2f4 @stuartm stuartm committed
Showing with 7 additions and 7 deletions.
  1. +7 −7 mythtv/libs/libmythui/mythuibuttonlist.cpp
View
14 mythtv/libs/libmythui/mythuibuttonlist.cpp
@@ -3223,19 +3223,19 @@ bool SearchButtonListDialog::Create(void)
bool SearchButtonListDialog::keyPressEvent(QKeyEvent *event)
{
QStringList actions;
- bool handled = GetMythMainWindow()->TranslateKeyPress("Music", event, actions, false);
+ bool handled = GetMythMainWindow()->TranslateKeyPress("Global", event, actions, false);
for (int i = 0; i < actions.size() && !handled; i++)
{
QString action = actions[i];
handled = true;
- if (action == "0")
- {
- m_startsWith = !m_startsWith;
- searchChanged();
- }
- else
+// if (action == "0")
+// {
+// m_startsWith = !m_startsWith;
+// searchChanged();
+// }
+// else
handled = false;
}

0 comments on commit 03cedf8

Please sign in to comment.
Something went wrong with that request. Please try again.