forked from M-Labs/artiq
gui/datasets: fix source decoding
This commit is contained in:
parent
fe809f81ab
commit
a6d38b8a97
@ -111,10 +111,10 @@ class DatasetsDock(dockarea.Dock):
|
||||
display.update_data(self.table_model.backing_store)
|
||||
return
|
||||
|
||||
if mod["action"] == "setitem":
|
||||
source = mod["key"]
|
||||
elif mod["path"]:
|
||||
if mod["path"]:
|
||||
source = mod["path"][0]
|
||||
elif mod["action"] == "setitem":
|
||||
source = mod["key"]
|
||||
else:
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user