summaryrefslogtreecommitdiffstats
path: root/src/designer/src/components/taskmenu/tablewidgeteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/taskmenu/tablewidgeteditor.cpp')
-rw-r--r--src/designer/src/components/taskmenu/tablewidgeteditor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/designer/src/components/taskmenu/tablewidgeteditor.cpp b/src/designer/src/components/taskmenu/tablewidgeteditor.cpp
index 4a28a2f44..b1a7adf12 100644
--- a/src/designer/src/components/taskmenu/tablewidgeteditor.cpp
+++ b/src/designer/src/components/taskmenu/tablewidgeteditor.cpp
@@ -184,6 +184,12 @@ QVariant TableWidgetEditor::getItemData(int role) const
return item->data(role);
}
+int TableWidgetEditor::defaultItemFlags() const
+{
+ static const int flags = QTableWidgetItem().flags();
+ return flags;
+}
+
void TableWidgetEditor::on_tableWidget_currentCellChanged(int currentRow, int currentCol, int, int /* XXX remove me */)
{
m_rowEditor->setCurrentIndex(currentRow);