Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Commit

Permalink
Force corrupted state in advanced dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
r52 committed Jan 20, 2020
1 parent 0f71d1e commit 022c377
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PTA/statdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ StatDialog::StatDialog(PItem* item)
QCheckBox* crptCB = createMiscCheckBox(tr("Corrupted"), "corrupted", item->f_misc.corrupted);
miscLayout->addWidget(crptCB);

// Force corrupted state
misc["corrupted"] = item->f_misc.corrupted;

if (item->f_socket.sockets.total() > 0)
{
QCheckBox* socketCB = createMiscCheckBox(tr("Use Sockets") + QString(" (%1)").arg(item->f_socket.sockets.total()), "use_sockets", false);
Expand Down

0 comments on commit 022c377

Please sign in to comment.