mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
hide daemon sync progress after disconnecting wallet
This commit is contained in:
parent
8d19a03b68
commit
dd01f59a9c
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue