Skip empty queries

master
Salvo 'LtWorf' Tomaselli 2016-05-25 11:02:21 +07:00
parent 7a4a31d16a
commit 790766827e
1 changed files with 3 additions and 0 deletions

@ -192,6 +192,9 @@ class relForm(QtWidgets.QMainWindow):
else:
query = self.ui.txtQuery.text()
if not query.strip():
return
try:
self.selectedRelation = self.user_interface.multi_execute(query)
except Exception as e: