diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index 6f1cead258cdc..0c61354528a93 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -50,6 +50,7 @@ ClientModel::ClientModel(OptionsModel* optionsModel, QObject* parent) : QObject( pollMnTimer = new QTimer(this); connect(pollMnTimer, &QTimer::timeout, this, &ClientModel::updateMnTimer); + startMasternodesTimer(); subscribeToCoreSignals(); } diff --git a/src/qt/pivx/governancewidget.cpp b/src/qt/pivx/governancewidget.cpp index 07e8eacfca69e..4e772ab26f472 100644 --- a/src/qt/pivx/governancewidget.cpp +++ b/src/qt/pivx/governancewidget.cpp @@ -270,6 +270,7 @@ void GovernanceWidget::loadWalletModel() void GovernanceWidget::showEvent(QShowEvent *event) { + clientModel->startMasternodesTimer(); tryGridRefresh(true); // future: move to background worker if (!refreshTimer) refreshTimer = new QTimer(this); if (!refreshTimer->isActive()) { @@ -281,6 +282,7 @@ void GovernanceWidget::showEvent(QShowEvent *event) void GovernanceWidget::hideEvent(QHideEvent *event) { refreshTimer->stop(); + clientModel->stopMasternodesTimer(); } void GovernanceWidget::wheelEvent(QWheelEvent* event)