diff --git a/src/rpc.cpp b/src/rpc.cpp index dc7a9f1..881fc5d 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -67,10 +67,9 @@ RPC::~RPC() { void RPC::setEZcashd(QProcess* p) { ezcashd = p; - if (ezcashd) { + if (ezcashd && ui->tabWidget->widget(4) == nullptr) { ui->tabWidget->addTab(main->zcashdtab, "zcashd"); } - } void RPC::setConnection(Connection* c) {