#51 - Show zcashd tab only if there is embedded zcashd running

This commit is contained in:
Aditya Kulkarni
2018-11-14 22:15:31 -08:00
parent efa0796263
commit 2ade31b69e
3 changed files with 9 additions and 2 deletions

View File

@@ -71,6 +71,10 @@ MainWindow::MainWindow(QWidget *parent) :
// Initialize to the balances tab
ui->tabWidget->setCurrentIndex(0);
// The zcashd tab is hidden by default, and only later added in if the embedded zcashd is started
zcashdtab = ui->tabWidget->widget(4);
ui->tabWidget->removeTab(4);
setupSendTab();
setupTransactionsTab();
setupRecieveTab();