mirror of https://github.com/m-labs/artiq.git
parent
0982c965b1
commit
df2322422d
|
@ -258,8 +258,9 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
|
||||||
def dropEvent(self, ev):
|
def dropEvent(self, ev):
|
||||||
for uri in ev.mimeData().urls():
|
for uri in ev.mimeData().urls():
|
||||||
if uri.scheme() == "file":
|
if uri.scheme() == "file":
|
||||||
logger.debug("Loading HDF5 arguments from %s", uri.path())
|
filename = QtCore.QDir.toNativeSeparators(uri.toLocalFile())
|
||||||
asyncio.ensure_future(self.load_hdf5_task(uri.path()))
|
logger.debug("Loading HDF5 arguments from %s", filename)
|
||||||
|
asyncio.ensure_future(self.load_hdf5_task(filename))
|
||||||
break
|
break
|
||||||
|
|
||||||
async def compute_arginfo(self):
|
async def compute_arginfo(self):
|
||||||
|
|
Loading…
Reference in New Issue