diff --git a/src/gui/widgets/LinkedModelGroupViews.cpp b/src/gui/widgets/LinkedModelGroupViews.cpp index 1b4bd8bbd..b9e007ff9 100644 --- a/src/gui/widgets/LinkedModelGroupViews.cpp +++ b/src/gui/widgets/LinkedModelGroupViews.cpp @@ -42,6 +42,11 @@ LinkedModelGroupView::LinkedModelGroupView(QWidget* parent, m_colNum(colNum), m_layout(new ControlLayout(this)) { + // This is required to remove the focus of the line edit + // when e.g. another spin box is being clicked. + // Removing the focus is wanted because in many cases, the user wants to + // quickly play notes on the virtual keyboard. + setFocusPolicy( Qt::StrongFocus ); }