Add non working way to open files dialog

This commit is contained in:
Yohan Boniface 2023-12-02 09:55:58 +01:00
parent 84b5e2188a
commit 42906ea8b4
2 changed files with 5 additions and 0 deletions

View file

@ -426,6 +426,7 @@ L.U.Keys = {
I: 73, I: 73,
L: 76, L: 76,
M: 77, M: 77,
O: 79,
P: 80, P: 80,
S: 83, S: 83,
Z: 90, Z: 90,

View file

@ -563,6 +563,10 @@ L.U.Map.include({
L.DomEvent.stop(e) L.DomEvent.stop(e)
this.importer.open() this.importer.open()
} }
if (key === L.U.Keys.O && modifierKey && this.editEnabled) {
L.DomEvent.stop(e)
this.importer.openFiles()
}
if (key === L.U.Keys.H && modifierKey && this.editEnabled) { if (key === L.U.Keys.H && modifierKey && this.editEnabled) {
L.DomEvent.stop(e) L.DomEvent.stop(e)
this.help.show('edit') this.help.show('edit')