[ui] Do not disable the manual refresh button when computations are ongoing

Only disable it if it has been clicked by the user and the refresh is not
completed yet.
This commit is contained in:
Candice Bentéjac 2022-12-07 13:02:20 +01:00
parent 5156053361
commit 31579f3bc0

View file

@ -950,7 +950,7 @@ ApplicationWindow {
updatingStatus = false
}
property bool updatingStatus: false
enabled: !updatingStatus && (_reconstruction ? !_reconstruction.computingLocally : false)
enabled: !updatingStatus
}
MaterialToolButton {
id: filePollerRefreshStatus