diff --git a/src/core/GUI/boxeslistactionbutton.h b/src/core/GUI/boxeslistactionbutton.h index cc8043908..c53cf46a1 100644 --- a/src/core/GUI/boxeslistactionbutton.h +++ b/src/core/GUI/boxeslistactionbutton.h @@ -71,6 +71,7 @@ class CORE_EXPORT BoxesListIconActionButton : public QPushButton public: BoxesListIconActionButton(QWidget *parent = nullptr) : QPushButton(parent) { + setFocusPolicy(Qt::NoFocus); setObjectName("FlatButton"); eSizesUI::widget.add(this, [this](const int size) { setFixedSize(size, size);