Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dbmanager: fix 'load as new layer' (fixes #9548)
  • Loading branch information
jef-n committed Feb 12, 2014
1 parent 4d660d1 commit 57dd877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/db_manager/dlg_sql_window.py
Expand Up @@ -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

Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 57dd877

Please sign in to comment.