ArchUpdater: fixes (part2)
This commit is contained in:
parent
68874e8680
commit
d6df496216
1 changed files with 5 additions and 7 deletions
|
|
@ -79,14 +79,12 @@ NIconButton {
|
|||
}
|
||||
|
||||
onClicked: {
|
||||
if (ArchUpdaterService.busy || ArchUpdaterService.aurBusy)
|
||||
if (ArchUpdaterService.busy || ArchUpdaterService.aurBusy) {
|
||||
return
|
||||
}
|
||||
|
||||
if (ArchUpdaterService.totalUpdates > 0) {
|
||||
PanelService.getPanel("archUpdaterPanel").toggle(screen, this)
|
||||
} else {
|
||||
ArchUpdaterService.doPoll()
|
||||
ArchUpdaterService.doAurPoll()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue