Qt: Fix autofire buttons showing with no controller attached
This commit is contained in:
1 parent
22d1e6cf02
commit
8be8921ae5
1 file changed
+1
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user