Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] Fail model drop if model file could not be successfully …
…read
  • Loading branch information
nyalldawson committed Jul 12, 2018
1 parent 41825ca commit a5992d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/plugins/processing/ProcessingPlugin.py
Expand Up @@ -74,8 +74,7 @@ class ProcessingDropHandler(QgsCustomDropHandler):
def handleFileDrop(self, file):
if not file.lower().endswith('.model3'):
return False
self.runAlg(file)
return True
return self.runAlg(file)

@staticmethod
def runAlg(file):
Expand Down

0 comments on commit a5992d0

Please sign in to comment.