Showing the changes to interface/src/ui/ScriptsTableWidget.cpp (1 of 2 files). Show all
Unified · Split
| @@ -10,6 +10,7 @@ · 9 unmodified lines | |||
| 10 | #include <QHeaderView> | 10 | #include <QHeaderView> |
| 11 | #include <QPainter> | 11 | #include <QPainter> |
| 12 | #include <QDebug> | 12 | #include <QDebug> |
| 13 | #include <QKeyEvent> | ||
| 13 | 14 | ||
| 14 | ScriptsTableWidget::ScriptsTableWidget(QWidget *parent) : | 15 | ScriptsTableWidget::ScriptsTableWidget(QWidget *parent) : |
| 15 | QTableWidget(parent) | 16 | QTableWidget(parent) |
| @@ -39,3 +40,8 @@ void ScriptsTableWidget::paintEvent(QPaintEvent *event) · 23 unmodified lines | |||
| 39 | 40 | ||
| 40 | QTableWidget::paintEvent(event); | 41 | QTableWidget::paintEvent(event); |
| 41 | } | 42 | } |
| 43 | |||
| 44 | void ScriptsTableWidget::keyPressEvent(QKeyEvent *event) { | ||
| 45 | // Ignore keys so they will propagate correctly | ||
| 46 | event->ignore(); | ||
| 47 | } | ||