Skip to content

Commit

Permalink
isFocusWidget fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Feb 25, 2020
1 parent 3674469 commit 1a60634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eez/modules/psu/gui/psu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ bool PsuAppContext::isFocusWidget(const WidgetCursor &widgetCursor) {
}
}

return (widgetCursor.cursor == -1 || widgetCursor.cursor == g_focusCursor) && widgetCursor.widget->data == g_focusDataId && widgetCursor.widget->action == ACTION_ID_EDIT;
return (widgetCursor.cursor == -1 || widgetCursor.cursor == g_focusCursor) && widgetCursor.widget->data == g_focusDataId && widgetCursor.widget->action != ACTION_ID_EDIT_NO_FOCUS;
}

bool PsuAppContext::isAutoRepeatAction(int action) {
Expand Down

0 comments on commit 1a60634

Please sign in to comment.