[keyboard] Hook up the model-selection again
This commit is contained in:
parent
87aafb2442
commit
168be02c96
@ -57,7 +57,10 @@ KeyboardPage::KeyboardPage( Config* config, QWidget* parent )
|
|||||||
connect( ui->buttonRestore, &QPushButton::clicked, [config=config] {
|
connect( ui->buttonRestore, &QPushButton::clicked, [config=config] {
|
||||||
config->keyboardModels()->setCurrentIndex();
|
config->keyboardModels()->setCurrentIndex();
|
||||||
} );
|
} );
|
||||||
|
connect( ui->physicalModelSelector,
|
||||||
|
QOverload<int>::of( &QComboBox::currentIndexChanged ),
|
||||||
|
config->keyboardModels(),
|
||||||
|
QOverload<int>::of( &KeyboardModelsModel::setCurrentIndex ) );
|
||||||
|
|
||||||
CALAMARES_RETRANSLATE( ui->retranslateUi( this ); )
|
CALAMARES_RETRANSLATE( ui->retranslateUi( this ); )
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user