Skip to content
Permalink
Browse files

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

…read

(cherry-picked from a5992d0)
  • Loading branch information
nyalldawson committed Jul 11, 2018
1 parent 257d64d commit 1d2cfb2273a0eb55d3006a0860ac2201dc7d2f34
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 1d2cfb2

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