hide daemon sync progress after disconnecting wallet

pull/2/head
Jaquee 8 years ago
parent 8d19a03b68
commit dd01f59a9c
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

@ -27,6 +27,7 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import QtQuick 2.0
import moneroComponents.Wallet 1.0
Item {
id: item
@ -46,7 +47,7 @@ Item {
// TODO: lower daemon block height cache, ttl and refresh interval?
item.visible = (currentBlock < targetBlock)
item.visible = (currentWallet.connected !== Wallet.ConnectionStatus_Disconnected) && (currentBlock < targetBlock)
}
}