Skip to content

Commit 9c79967

Browse files
committed
Merge pull request #1956 from Gustry/add-way
[db manager] add 'way' to geometry column
2 parents b8dc08f + 54ce784 commit 9c79967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/db_manager/dlg_sql_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def fillColumnCombos(self):
261261

262262
# get sensible default columns. do this before sorting in case there's hints in the column order (eg, id is more likely to be first)
263263
try:
264-
defaultGeomCol = next(col for col in cols if col in ['geom','geometry','the_geom'])
264+
defaultGeomCol = next(col for col in cols if col in ['geom','geometry','the_geom','way'])
265265
except:
266266
defaultGeomCol = None
267267
try:

0 commit comments

Comments
 (0)