Fixed an issue while selecting the row which was deleted just before the selection operation. Fixes #6306

This commit is contained in:
Yogesh Mahajan 2021-04-12 11:45:04 +05:30 committed by Akshay Joshi
parent 0ed47fcd2b
commit 9853d8bfd6
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ Bug fixes
| `Issue #6220 <https://redmine.postgresql.org/issues/6220>`_ - Corrected the syntax for 'CREATE TRIGGER', use 'EXECUTE FUNCTION' instead of 'EXECUTE PROCEDURE' from v11 onwards.
| `Issue #6274 <https://redmine.postgresql.org/issues/6274>`_ - Ensure that the strings in the LDAP auth module are translatable.
| `Issue #6293 <https://redmine.postgresql.org/issues/6293>`_ - Fixed an issue where the procedure creation is failed when providing the Volatility option.
| `Issue #6306 <https://redmine.postgresql.org/issues/6306>`_ - Fixed an issue while selecting the row which was deleted just before the selection operation.
| `Issue #6325 <https://redmine.postgresql.org/issues/6325>`_ - Ensure that the file format for the storage manager should be 'All files' and for other dialogs, it should remember the last selected format.
| `Issue #6327 <https://redmine.postgresql.org/issues/6327>`_ - Ensure that while comparing domains check function dependencies should be considered in schema diff.
| `Issue #6333 <https://redmine.postgresql.org/issues/6333>`_ - Fixed sizing issue of help dialog for Query Tool and ERD Tool when open in the new browser tab.

View File

@ -108,7 +108,7 @@ define([
}
if (isClickingLastClickedHeader(rowClicked, 1)) {
if (isSingleRangeSelected()) {
if (isSingleRangeSelected() || grid.getSelectionModel().getSelectedRanges().length === 0) {
grid.resetActiveCell();
} else {
grid.setActiveCell(retrievePreviousSelectedRange().fromRow, 1);