[processing] Fix clearing destination doesn't actually reset to temporary output

Even though the UI makes it look like it did
This commit is contained in:
Nyall Dawson 2018-05-30 07:07:28 +10:00
parent ce2f7739e7
commit aabbb307fa

View File

@ -88,13 +88,13 @@ class DestinationSelectionPanel(BASE, WIDGET):
self.leText.textEdited.connect(self.textChanged)
def textChanged(self):
self.use_temporary = False
self.use_temporary = not self.leText.text()
self.destinationChanged.emit()
def outputIsSkipped(self):
"""
Returns true if output is set to be skipped
signal """
"""
return not self.leText.text() and not self.use_temporary
def skipOutput(self):