Qt: Fix autofire buttons showing with no controller attached

This commit is contained in:
Connor McLaughlin 2021-06-09 12:32:28 +10:00
parent 22d1e6cf02
commit 8be8921ae5
1 changed files with 1 additions and 0 deletions

View File

@ -453,6 +453,7 @@ void ControllerSettingsWidget::createPortBindingSettingsUi(int index, PortSettin
} }
// turbo/autofire // turbo/autofire
if (ctype != ControllerType::None)
{ {
layout->addWidget(QtUtils::CreateHorizontalLine(ui->widget), start_row++, 0, 1, 4); layout->addWidget(QtUtils::CreateHorizontalLine(ui->widget), start_row++, 0, 1, 4);