1) Fixed an issue where Zoom to fit button only works if the diagram is larger than the canvas. Fixes #6163

2) Ensure that the diagram should not vanish entirely if zooming out too far in ERD. Fixes #6164
3) Fixed an issue where Generate SQL displayed twice in the ERD tool. Fixes #6179
4) Updated missing documentation for the 'Download Image' option in ERD. Fixes #6180
This commit is contained in:
Aditya Toshniwal
2021-01-29 11:54:50 +05:30
committed by Akshay Joshi
parent 36f76f5e2c
commit 48e257e5af
7 changed files with 44 additions and 8 deletions

View File

@@ -144,6 +144,24 @@ class ERDModule(PgAdminModule):
fields=shortcut_fields
)
self.preference.register(
'keyboard_shortcuts',
'download_image',
gettext('Download image'),
'keyboardshortcut',
{
'alt': True,
'shift': False,
'control': True,
'key': {
'key_code': 73,
'char': 'i'
}
},
category_label=PREF_LABEL_KEYBOARD_SHORTCUTS,
fields=shortcut_fields
)
self.preference.register(
'keyboard_shortcuts',
'add_table',