diff options
Diffstat (limited to 'src/plugins/accessible/widgets/itemviews.cpp')
-rw-r--r-- | src/plugins/accessible/widgets/itemviews.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/accessible/widgets/itemviews.cpp b/src/plugins/accessible/widgets/itemviews.cpp index 3235369..9ef764e 100644 --- a/src/plugins/accessible/widgets/itemviews.cpp +++ b/src/plugins/accessible/widgets/itemviews.cpp @@ -792,7 +792,7 @@ QString QAccessibleTable2Cell::text(Text t, int child) const void QAccessibleTable2Cell::setText(Text /*t*/, int child, const QString &text) { Q_ASSERT(child == 0); - if (!m_index.flags() & Qt::ItemIsEditable) + if (!(m_index.flags() & Qt::ItemIsEditable)) return; view->model()->setData(m_index, text); } |