forked from M-Labs/artiq
gui/schedule: improve delete status bar message
This commit is contained in:
parent
138ba7e2fa
commit
f872d92d22
|
@ -104,5 +104,9 @@ class ScheduleDock(dockarea.Dock):
|
|||
if idx:
|
||||
row = idx[0].row()
|
||||
rid = self.table_model.row_to_key[row]
|
||||
self.status_bar.showMessage("Deleted RID {}".format(rid))
|
||||
if graceful:
|
||||
msg = "Requested termination of RID {}".format(rid)
|
||||
else:
|
||||
msg = "Deleted RID {}".format(rid)
|
||||
self.status_bar.showMessage(msg)
|
||||
asyncio.ensure_future(self.delete(rid, graceful))
|
||||
|
|
Loading…
Reference in New Issue