1
0

Dialog changes

This commit is contained in:
Scott E. Graves
2017-02-08 21:41:32 -06:00
parent 4059be4ff1
commit 02f27488eb

View File

@@ -221,8 +221,6 @@ void CSiaDriveDlg::OnDocumentComplete(LPDISPATCH, LPCTSTR)
_walletBalanceUnconfirmed = L"";
_walletBalanceTotal = L"";
UpdateData(FALSE);
if ((_connected = UpdateUi(false)))
{
switch (_siaConfig.GetUI_Main_TabIndex())
@@ -234,6 +232,10 @@ void CSiaDriveDlg::OnDocumentComplete(LPDISPATCH, LPCTSTR)
break;
}
}
else
{
UpdateData(FALSE);
}
SetTimer(IDT_UPDATE, 2000, nullptr);
}