Skip to content
Permalink
Browse files

[processing] Fail model drop if model file could not be successfully …

…read
  • Loading branch information
nyalldawson committed Jul 11, 2018
1 parent 41825ca commit a5992d0178c9e2d2bb1eca1af1cf906b19125058
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/plugins/processing/ProcessingPlugin.py
@@ -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):

0 comments on commit a5992d0

Please sign in to comment.
You can’t perform that action at this time.