Skip to content

Commit

Permalink
Stop to detect network status when the main window is closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Incognito committed Feb 18, 2020
1 parent 9761098 commit b4a3aea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/dashboard.qml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ ColumnLayout {
running: true
repeat: true
onTriggered: function() {
AppProxy.getNetworkStatus()
if (appWindow.visible) {
AppProxy.getNetworkStatus()
}
}
}

Expand Down

0 comments on commit b4a3aea

Please sign in to comment.