diff --git a/src/qt/forms/masternodelist.ui b/src/qt/forms/masternodelist.ui index 803b9b2b745bf..437f3c6348060 100644 --- a/src/qt/forms/masternodelist.ui +++ b/src/qt/forms/masternodelist.ui @@ -99,6 +99,9 @@ true + + QHeaderView::Interactive + Alias @@ -224,6 +227,9 @@ true + + QHeaderView::Interactive + Address diff --git a/src/qt/masternodelist.cpp b/src/qt/masternodelist.cpp index 236a5731418be..55bca47ab2116 100644 --- a/src/qt/masternodelist.cpp +++ b/src/qt/masternodelist.cpp @@ -34,7 +34,6 @@ MasternodeList::MasternodeList(const PlatformStyle *platformStyle, QWidget *pare int columnActiveWidth = 130; int columnLastSeenWidth = 130; - ui->tableWidgetMyMasternodes->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); ui->tableWidgetMyMasternodes->setColumnWidth(0, columnAliasWidth); ui->tableWidgetMyMasternodes->setColumnWidth(1, columnAddressWidth); ui->tableWidgetMyMasternodes->setColumnWidth(2, columnProtocolWidth); @@ -42,7 +41,6 @@ MasternodeList::MasternodeList(const PlatformStyle *platformStyle, QWidget *pare ui->tableWidgetMyMasternodes->setColumnWidth(4, columnActiveWidth); ui->tableWidgetMyMasternodes->setColumnWidth(5, columnLastSeenWidth); - ui->tableWidgetMasternodes->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); ui->tableWidgetMasternodes->setColumnWidth(0, columnAddressWidth); ui->tableWidgetMasternodes->setColumnWidth(1, columnProtocolWidth); ui->tableWidgetMasternodes->setColumnWidth(2, columnStatusWidth);