Skip to content

Commit

Permalink
Correct the output label's text in GdalTools Contour
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed Jun 15, 2011
1 parent 907f5c1 commit 016cc0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/GdalTools/__init__.py
Expand Up @@ -22,7 +22,7 @@ def name():
def description():
return "Integrate gdal tools into qgis"
def version():
return "Version 1.2.26"
return "Version 1.2.27"
def qgisMinimumVersion():
return "1.0"
def icon():
Expand Down
2 changes: 2 additions & 0 deletions python/plugins/GdalTools/tools/doContour.py
Expand Up @@ -19,6 +19,8 @@ def __init__(self, iface):

gdalVersion = Utils.GdalConfig.version()
self.useDirAsOutput = gdalVersion < "1.7.0"
if self.useDirAsOutput:
self.label_2.setText( QApplication.translate("GdalToolsWidget", "&Output directory for contour lines (shapefile)") )

self.outSelector.setType( self.outSelector.FILE )

Expand Down
2 changes: 1 addition & 1 deletion python/plugins/GdalTools/tools/widgetContour.ui
Expand Up @@ -35,7 +35,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&amp;Output directory for contour lines (shapefile)</string>
<string>&amp;Output file for contour lines (vector)</string>
</property>
<property name="buddy">
<cstring>outSelector</cstring>
Expand Down

0 comments on commit 016cc0b

Please sign in to comment.