mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
Qt: Don't open dialog on shift-click for effect bindings
This commit is contained in:
@@ -207,7 +207,8 @@ bool InputBindingWidget::event(QEvent* event)
|
||||
if (event->type() == QEvent::MouseButtonRelease)
|
||||
{
|
||||
QMouseEvent* mev = static_cast<QMouseEvent*>(event);
|
||||
if (mev->button() == Qt::LeftButton && mev->modifiers() & Qt::ShiftModifier)
|
||||
if (mev->button() == Qt::LeftButton && mev->modifiers() & Qt::ShiftModifier &&
|
||||
!InputBindingInfo::IsEffectType(m_bind_type))
|
||||
{
|
||||
openDialog();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user