Qt: Don't open dialog on shift-click for effect bindings

This commit is contained in:
Stenzek
2026-01-10 15:27:09 +10:00
parent e0f97a8a00
commit 1ef7ce0d7f

View File

@@ -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;