Merge pull request #230 from svost/qt-raise
authorCryptoManiac <CryptoManiac@users.noreply.github.com>
Sat, 12 Sep 2015 13:57:59 +0000 (16:57 +0300)
committerCryptoManiac <CryptoManiac@users.noreply.github.com>
Sat, 12 Sep 2015 13:57:59 +0000 (16:57 +0300)
Add raise() for MultisigPage and for RpcConsole

src/qt/bitcoingui.cpp

index 99e1813..8b9e114 100644 (file)
@@ -204,6 +204,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
 
     rpcConsole = new RPCConsole(0);
     connect(openRPCConsoleAction, SIGNAL(triggered()), rpcConsole, SLOT(show()));
+    connect(openRPCConsoleAction, SIGNAL(triggered()), rpcConsole, SLOT(raise()));
 
     aboutDialog = new AboutDialog(0);
     optionsDialog = new OptionsDialog(0);
@@ -933,7 +934,8 @@ void BitcoinGUI::gotoVerifyMessageTab(QString addr)
 void BitcoinGUI::gotoMultisigPage()
 {
     multisigPage->show();
-    multisigPage->setFocus();
+    multisigPage->raise();
+    multisigPage->activateWindow();
 }
 
 void BitcoinGUI::dragEnterEvent(QDragEnterEvent *event)