Skip to content
Permalink
Browse files

fix osm style path detection

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11596 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Sep 8, 2009
1 parent 4d17507 commit 6e6cb8590ddc77a4b562797a85662d4cfed6bda0
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/plugins/osm/OsmLoadDlg.py
@@ -67,8 +67,7 @@ def initGui(self):

# load default values to combobox determining style for custom renderer
self.styles=["Small scale","Medium scale","Large scale"]
thisFile=QString(__file__)
directory=thisFile.left(thisFile.lastIndexOf('/'))
directory=QFileInfo(__file__).canonicalPath()
self.styleFiles=[directory+"/styles/small_scale.style", directory+"/styles/medium_scale.style", directory+"/styles/big_scale.style"]
self.styleCombo.addItems(self.styles)

0 comments on commit 6e6cb85

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