Skip to content

Commit

Permalink
Fix to add remote layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Martinez committed Oct 16, 2019
1 parent cf61f33 commit 99bb8a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sourceorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ def createTreeModel(mapContext, reducedTree=True):
layers.append((os.path.join(getFile().getAbsolutePath(),getTable()),layer))
else:
layers.append((getFile().getAbsolutePath(),layer))

else:
remotes.append((layer.getName(), layer))
layers.sort(cmp = lambda x,y: cmp(x[0],y[0]))

if reducedTree:
Expand Down

0 comments on commit 99bb8a2

Please sign in to comment.