#51 - Show zcashd tab only if there is embedded zcashd running
This commit is contained in:
@@ -67,8 +67,10 @@ RPC::~RPC() {
|
||||
void RPC::setEZcashd(QProcess* p) {
|
||||
ezcashd = p;
|
||||
|
||||
if (ezcashd == nullptr)
|
||||
ui->tabWidget->removeTab(4);
|
||||
if (ezcashd) {
|
||||
ui->tabWidget->addTab(main->zcashdtab, "zcashd");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void RPC::setConnection(Connection* c) {
|
||||
|
||||
Reference in New Issue
Block a user