mirror of https://github.com/m-labs/artiq.git
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)
|
display.update_data(self.table_model.backing_store)
|
||||||
return
|
return
|
||||||
|
|
||||||
if mod["action"] == "setitem":
|
if mod["path"]:
|
||||||
source = mod["key"]
|
|
||||||
elif mod["path"]:
|
|
||||||
source = mod["path"][0]
|
source = mod["path"][0]
|
||||||
|
elif mod["action"] == "setitem":
|
||||||
|
source = mod["key"]
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue