return
// If the user didn"t cancel
if len(fileNames) > 0:
PreferencesManager().set("DataSelection", "recent stack image", fileNames[0])
// Convert into one big string, which is accepted by the stack loading operator
bigString = "//".join( fileNames )
self.importStackFromGlobString(bigString, roleIndex)
After Change
laneIndex = self._findFirstEmptyLane(roleIndex)
if len(self.topLevelOperator.DatasetGroup) < laneIndex+1:
self.topLevelOperator.DatasetGroup.resize(laneIndex+1)
def importStack():
self.guiControlSignal.emit( ControlCommand.DisableAll )
// Serializer will update the operator for us, which will propagate to the GUI.