Read about our upcoming Code of Conduct on this issue

Commit d1fcd1e3 authored by Steve Borho's avatar Steve Borho
Browse files

mq: fix reload problems

#1 - selecting guards was making the repo busy count negative.. no more events
#2 - since guards are now polled, there's no need to manually reload
parent b51204c63e61
......@@ -234,7 +234,6 @@ class MQWidget(QWidget):
self.repo.decrementBusyCount()
if ret is not 0:
pass # TODO: look for reject notifications
self.reload() # TODO: probably redundant
@pyqtSlot()
def onPushAll(self):
......@@ -658,6 +657,7 @@ class MQWidget(QWidget):
newguards.remove(guard)
cmdline = ['qselect', '-R', self.repo.root]
cmdline += newguards or ['--none']
self.repo.incrementBusyCount()
self.cmd.run(cmdline)
# Capture drop events, try to import into current patch queue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment