mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
settings_dialog: enable LLE List multiselection
This commit is contained in:
parent
37c26b77ee
commit
1c3b9754aa
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue