Skip to content

Commit

Permalink
Fixing tree mode view in coincontrol (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
firstcryptoman authored and levonpetrosyan93 committed May 17, 2023
1 parent 40ce365 commit 3d0c3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/coincontroldialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ void CoinControlDialog::updateView()

ui->treeWidget->clear();
ui->treeWidget->setEnabled(false); // performance, otherwise updateLabels would be called for every checked checkbox
ui->treeWidget->setAlternatingRowColors(!treeMode);
ui->treeWidget->setAlternatingRowColors(true);
QFlags<Qt::ItemFlag> flgCheckbox = Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsUserCheckable;
QFlags<Qt::ItemFlag> flgTristate = Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsUserCheckable | Qt::ItemIsTristate;

Expand Down

0 comments on commit 3d0c3fc

Please sign in to comment.