mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
fix gray out bug
This commit is contained in:
parent
1fdc7cda80
commit
263f5f71a5
1 changed files with 1 additions and 1 deletions
|
@ -526,7 +526,7 @@ void NetPlaySetupDialog::UpdateListBrowser()
|
|||
auto* game_id = new QTableWidgetItem(QString::fromStdString(entry.game_id));
|
||||
auto* player_count = new QTableWidgetItem(QStringLiteral("%1").arg(entry.player_count));
|
||||
|
||||
const bool enabled = Common::GetScmDescStr() == entry.version;
|
||||
const bool enabled = true;
|
||||
|
||||
for (const auto& item : {name, game_id, player_count, in_game})
|
||||
item->setFlags(enabled ? Qt::ItemIsEnabled | Qt::ItemIsSelectable : Qt::NoItemFlags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue