mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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:
committed by
Akshay Joshi
parent
36f76f5e2c
commit
48e257e5af
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user