diff --git a/src/gui/qt/gametable/myactionbutton.cpp b/src/gui/qt/gametable/myactionbutton.cpp index 31b3cc78..f975f5e1 100644 --- a/src/gui/qt/gametable/myactionbutton.cpp +++ b/src/gui/qt/gametable/myactionbutton.cpp @@ -73,3 +73,10 @@ bool MyActionButton::event(QEvent *event) } return QWidget::event(event); } + +void MyActionButton::click() +{ + if (!eatMyEvents) { + QPushButton::click(); + } +} diff --git a/src/gui/qt/gametable/myactionbutton.h b/src/gui/qt/gametable/myactionbutton.h index f18ca078..659c665b 100644 --- a/src/gui/qt/gametable/myactionbutton.h +++ b/src/gui/qt/gametable/myactionbutton.h @@ -60,6 +60,9 @@ public: } bool event(QEvent *e); +public slots: + void click(); + private: QString fKeyText;