mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
Implement middle click
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@ -142,6 +142,9 @@ bool ProjectItemDelegate::editorEvent(QEvent* event,
|
||||
|
||||
auto mouseEvent = (QMouseEvent*)event;
|
||||
|
||||
if (mouseEvent->button() != Qt::LeftButton)
|
||||
return false;
|
||||
|
||||
QStyleOptionViewItem opt(option);
|
||||
initStyleOption(&opt, index);
|
||||
|
||||
|
Reference in New Issue
Block a user