hide daemon sync progress after disconnecting wallet

This commit is contained in:
Jaquee 2016-11-26 13:15:25 +01:00
parent 8d19a03b68
commit dd01f59a9c
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39

View file

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