diff options
Diffstat (limited to 'src/plugins/coreplugin/welcomepagehelper.cpp')
-rw-r--r-- | src/plugins/coreplugin/welcomepagehelper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/welcomepagehelper.cpp b/src/plugins/coreplugin/welcomepagehelper.cpp index a8eeb042b8..8e2b3c61a9 100644 --- a/src/plugins/coreplugin/welcomepagehelper.cpp +++ b/src/plugins/coreplugin/welcomepagehelper.cpp @@ -603,6 +603,10 @@ bool ListItemDelegate::editorEvent(QEvent *event, QAbstractItemModel *model, if (!item) return false; auto mev = static_cast<QMouseEvent *>(event); + + if (mev->button() != Qt::LeftButton) // do not react on right click + return false; + if (index.isValid()) { const QPoint pos = mev->pos(); if (pos.y() > option.rect.y() + GridProxyModel::TagsSeparatorY) { |