mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
settings_dialog: enable LLE List multiselection
This commit is contained in:
parent
37c26b77ee
commit
1c3b9754aa
@ -349,6 +349,14 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
|
||||
connect(libModeBG, static_cast<void(QButtonGroup::*)(int)>(&QButtonGroup::buttonClicked), l_OnLibButtonClicked);
|
||||
connect(ui->searchBox, &QLineEdit::textChanged, l_OnSearchBoxTextChanged);
|
||||
|
||||
// enable multiselection (there must be a better way)
|
||||
connect(ui->lleList, &QListWidget::itemChanged, [&](QListWidgetItem* item){
|
||||
for (auto cb : ui->lleList->selectedItems())
|
||||
{
|
||||
cb->setCheckState(item->checkState());
|
||||
}
|
||||
});
|
||||
|
||||
int buttid = libModeBG->checkedId();
|
||||
if (buttid != -1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user