Qt: Fix autofire buttons showing with no controller attached
This commit is contained in:
parent
22d1e6cf02
commit
8be8921ae5
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue