Skip empty queries
This commit is contained in:
parent
7a4a31d16a
commit
790766827e
@ -192,6 +192,9 @@ class relForm(QtWidgets.QMainWindow):
|
|||||||
else:
|
else:
|
||||||
query = self.ui.txtQuery.text()
|
query = self.ui.txtQuery.text()
|
||||||
|
|
||||||
|
if not query.strip():
|
||||||
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.selectedRelation = self.user_interface.multi_execute(query)
|
self.selectedRelation = self.user_interface.multi_execute(query)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user