Skip to content
Permalink
Browse files
Create a view from the selected query (PR#1999)
  • Loading branch information
brushtyler committed May 27, 2015
1 parent d40c763 commit 08dd620b5964ebe1f37e0dc4d06527db788c267f
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/dlg_sql_window.py
@@ -343,7 +343,7 @@ def createView( self ):
name, ok = QInputDialog.getText(None, "View name", "View name")
if ok:
try:
self.db.connector.createSpatialView( name, self.editSql.text() )
self.db.connector.createSpatialView( name, self._getSqlQuery() )
except BaseError as e:
DlgDbError.showError(e, self)

0 comments on commit 08dd620

Please sign in to comment.