Skip to content
Permalink
Browse files
fix GDalTools overviews when clean and no levels are defined (#10538)
  • Loading branch information
etiennesky committed Jun 10, 2014
1 parent 1acf45f commit 9ec1d465409208a39bf436eb8d4a6e50d7ec5418
Showing with 1 addition and 3 deletions.
  1. +1 −3 python/plugins/GdalTools/tools/doOverview.py
@@ -139,9 +139,7 @@ def getArguments( self ):

arguments.append(self.getInputFileName())

if len(self.mPyramidOptionsWidget.overviewList()) == 0:
arguments.append(self.tr("[select levels]"))
else:
if len(self.mPyramidOptionsWidget.overviewList()) > 0:
for level in self.mPyramidOptionsWidget.overviewList():
arguments.append(str(level))

0 comments on commit 9ec1d46

Please sign in to comment.