From 8be8921ae54add410ee9f2b3c0f76f8dc4862006 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 9 Jun 2021 12:32:28 +1000 Subject: [PATCH] Qt: Fix autofire buttons showing with no controller attached --- src/duckstation-qt/controllersettingswidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/duckstation-qt/controllersettingswidget.cpp b/src/duckstation-qt/controllersettingswidget.cpp index b474e7a87..1d1579e57 100644 --- a/src/duckstation-qt/controllersettingswidget.cpp +++ b/src/duckstation-qt/controllersettingswidget.cpp @@ -453,6 +453,7 @@ void ControllerSettingsWidget::createPortBindingSettingsUi(int index, PortSettin } // turbo/autofire + if (ctype != ControllerType::None) { layout->addWidget(QtUtils::CreateHorizontalLine(ui->widget), start_row++, 0, 1, 4);