Fix an issue in the Query Tool where shortcut keys could be ignored following a query error. Fixes #3915

This commit is contained in:
Aditya Toshniwal 2019-10-29 11:51:01 +00:00 committed by Dave Page
parent 30e9673375
commit 06022dfd7e
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ Bug fixes
| `Issue #3789 <https://redmine.postgresql.org/issues/3789>`_ - Ensure context menus never get hidden below the menu bar.
| `Issue #3913 <https://redmine.postgresql.org/issues/3913>`_ - Ensure the correct "running at" agent is shown when a pgAgent job is executing.
| `Issue #3915 <https://redmine.postgresql.org/issues/3915>`_ - Fix an issue in the Query Tool where shortcut keys could be ignored following a query error.
| `Issue #4341 <https://redmine.postgresql.org/issues/4341>`_ - Give appropriate error messages when the user tries to use an blank master password.
| `Issue #4459 <https://redmine.postgresql.org/issues/4459>`_ - Don't quote bigints when copying them from the Query Tool results grid.
| `Issue #4482 <https://redmine.postgresql.org/issues/4482>`_ - Ensure compression level is passed to pg_dump when backing up in directory format.

View File

@ -164,6 +164,7 @@ class ExecuteQuery {
self.sqlServerObject.resetQueryHistoryObject(self.sqlServerObject);
self.loadingScreen.hide();
self.sqlServerObject.setIsQueryRunning(false);
if (self.sqlServerObject.is_query_tool) {
self.enableSQLEditorButtons();
}