Skip to content

Commit a5992d0

Browse files
committedJul 12, 2018
[processing] Fail model drop if model file could not be successfully read
1 parent 41825ca commit a5992d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎python/plugins/processing/ProcessingPlugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ class ProcessingDropHandler(QgsCustomDropHandler):
7474
def handleFileDrop(self, file):
7575
if not file.lower().endswith('.model3'):
7676
return False
77-
self.runAlg(file)
78-
return True
77+
return self.runAlg(file)
7978

8079
@staticmethod
8180
def runAlg(file):

0 commit comments

Comments
 (0)
Please sign in to comment.