Skip to content

Commit

Permalink
UI: Disable 'selecting' price points
Browse files Browse the repository at this point in the history
  • Loading branch information
zathras-crypto committed May 12, 2015
1 parent 4615360 commit 470938e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/qt/metadexdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ MetaDExDialog::MetaDExDialog(QWidget *parent) :
ui->buyList->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
#endif
ui->buyList->setShowGrid(false);
ui->buyList->setSelectionBehavior(QAbstractItemView::SelectRows);
ui->buyList->setEditTriggers(QAbstractItemView::NoEditTriggers);
ui->buyList->setSelectionMode(QAbstractItemView::SingleSelection);
ui->buyList->setSelectionMode(QAbstractItemView::NoSelection);
ui->buyList->setFocusPolicy(Qt::NoFocus);
ui->buyList->setAlternatingRowColors(true);
ui->sellList->verticalHeader()->setVisible(false);
#if QT_VERSION < 0x050000
Expand All @@ -105,9 +105,9 @@ MetaDExDialog::MetaDExDialog(QWidget *parent) :
ui->sellList->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
#endif
ui->sellList->setShowGrid(false);
ui->sellList->setSelectionBehavior(QAbstractItemView::SelectRows);
ui->sellList->setEditTriggers(QAbstractItemView::NoEditTriggers);
ui->sellList->setSelectionMode(QAbstractItemView::SingleSelection);
ui->sellList->setSelectionMode(QAbstractItemView::NoSelection);
ui->sellList->setFocusPolicy(Qt::NoFocus);
ui->sellList->setAlternatingRowColors(true);

ui->pendingLabel->setVisible(false);
Expand Down

0 comments on commit 470938e

Please sign in to comment.