From 0502385150b5259e83393aa8f26f64ed6f8ff27e Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 2 Mar 2016 14:47:18 +0300 Subject: [PATCH] connections icon click was not working --- src/qt/bitcoingui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index bef0515ac9bc..9505121f15c3 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -201,6 +201,9 @@ BitcoinGUI::BitcoinGUI(const PlatformStyle *platformStyle, const NetworkStyle *n labelConnectionsIcon->setFlat(true); // Make the button look like a label, but clickable labelConnectionsIcon->setStyleSheet(".QPushButton { background-color: rgba(255, 255, 255, 0);}"); labelConnectionsIcon->setMaximumSize(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE); + // Jump to peers tab by clicking on connections icon + connect(labelConnectionsIcon, SIGNAL(clicked()), this, SLOT(showPeers())); + labelBlocksIcon = new QLabel(); if(enableWallet) { @@ -414,9 +417,6 @@ void BitcoinGUI::createActions() connect(openMNConfEditorAction, SIGNAL(triggered()), this, SLOT(showMNConfEditor())); connect(showBackupsAction, SIGNAL(triggered()), this, SLOT(showBackups())); - // Jump to peers tab by clicking on connections icon - connect(labelConnectionsIcon, SIGNAL(clicked()), this, SLOT(showPeers())); - // Get restart command-line parameters and handle restart connect(rpcConsole, SIGNAL(handleRestart(QStringList)), this, SLOT(handleRestart(QStringList)));