From ad0c0eb59116adc420eac680cdb221eebf713010 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 29 Sep 2023 15:21:43 +0300 Subject: [PATCH] fix(gui): hide vertical header in Masternode and Governance tables --- src/qt/governancelist.cpp | 1 + src/qt/masternodelist.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/qt/governancelist.cpp b/src/qt/governancelist.cpp index 8cbbe58bcf..0ec47888b4 100644 --- a/src/qt/governancelist.cpp +++ b/src/qt/governancelist.cpp @@ -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)); diff --git a/src/qt/masternodelist.cpp b/src/qt/masternodelist.cpp index 7ceca4aaaf..610071af64 100644 --- a/src/qt/masternodelist.cpp +++ b/src/qt/masternodelist.cpp @@ -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);