Skip to content


Create a view from the selected query (PR#1999)
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed May 27, 2015
1 parent d40c763 commit 08dd620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/
Expand Up @@ -343,7 +343,7 @@ def createView( self ):
name, ok = QInputDialog.getText(None, "View name", "View name")
if ok:
self.db.connector.createSpatialView( name, self.editSql.text() )
self.db.connector.createSpatialView( name, self._getSqlQuery() )
except BaseError as e:
DlgDbError.showError(e, self)

Expand Down

0 comments on commit 08dd620

Please sign in to comment.