Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1549 from DelazJ/TableManager_GUI
Set 0 as default value of srid in DB_Manager dialogs (issue #7083)
  • Loading branch information
timlinux committed Aug 25, 2014
2 parents d70235f + 0bfd5fb commit 3892964
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/dlg_create_table.py
Expand Up @@ -284,7 +284,7 @@ def createTable(self):
try:
geomSrid = int(self.editGeomSrid.text())
except ValueError:
geomSrid = -1
geomSrid = 0
useSpatialIndex = self.chkSpatialIndex.isChecked()

flds = m.getFields()
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/db_manager/ui/DlgAddGeometryColumn.ui
Expand Up @@ -126,7 +126,7 @@
<item row="3" column="1">
<widget class="QLineEdit" name="editSrid">
<property name="text">
<string notr="true">-1</string>
<string notr="true">0</string>
</property>
</widget>
</item>
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/db_manager/ui/DlgCreateTable.ui
Expand Up @@ -228,7 +228,7 @@
<item row="3" column="1">
<widget class="QLineEdit" name="editGeomSrid">
<property name="text">
<string notr="true">-1</string>
<string notr="true">0</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit 3892964

Please sign in to comment.