Skip to content
Permalink
Browse files

dbmanager: fix 'load as new layer' (fixes #9548)

  • Loading branch information
jef-n committed Feb 12, 2014
1 parent 4d660d1 commit 57dd8779acf0495088de4eca89fd5d0accc5e755
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/db_manager/dlg_sql_window.py
@@ -168,7 +168,7 @@ def loadSqlLayer(self):
QMessageBox.warning(self, self.tr( "Sorry" ), self.tr( "You must fill the required fields: \ngeometry column - column with unique integer values" ) )
return

query = self.getSql()
query = self.editSql.text()
if query == "":
return

@@ -199,7 +199,7 @@ def loadSqlLayer(self):
QApplication.restoreOverrideCursor()

def fillColumnCombos(self):
query = self.getSql()
query = self.editSql.text()
if query == "": return

QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))

0 comments on commit 57dd877

Please sign in to comment.
You can’t perform that action at this time.