mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
fix(gui): hide vertical header in Masternode and Governance tables
This commit is contained in:
parent
c034ff0c26
commit
ad0c0eb591
@ -304,6 +304,7 @@ GovernanceList::GovernanceList(QWidget* parent) :
|
||||
ui->govTableView->setModel(proposalModelProxy);
|
||||
ui->govTableView->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
ui->govTableView->horizontalHeader()->setStretchLastSection(true);
|
||||
ui->govTableView->verticalHeader()->setVisible(false);
|
||||
|
||||
for (int i = 0; i < proposalModel->columnCount(); ++i) {
|
||||
ui->govTableView->setColumnWidth(i, proposalModel->columnWidth(i));
|
||||
|
@ -78,6 +78,7 @@ MasternodeList::MasternodeList(QWidget* parent) :
|
||||
ui->tableWidgetMasternodesDIP3->setColumnHidden(COLUMN_PROTX_HASH, true);
|
||||
|
||||
ui->tableWidgetMasternodesDIP3->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
ui->tableWidgetMasternodesDIP3->verticalHeader()->setVisible(false);
|
||||
|
||||
ui->checkBoxMyMasternodesOnly->setEnabled(false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user