Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix osm style path detection
git-svn-id: http://svn.osgeo.org/qgis/trunk@11596 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Sep 8, 2009
1 parent 7243486 commit f0fe5c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/plugins/osm/OsmLoadDlg.py
Expand Up @@ -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)

Expand Down

0 comments on commit f0fe5c5

Please sign in to comment.