Commit 7ffab573 authored by helene ortiz's avatar helene ortiz
Browse files

* Keep arrow down and up for combo boxes, add CTRL key to move down/up

among command boxes.
parent c1cf8cb4
......@@ -5,6 +5,8 @@
* Fix bug: PAL and XBU files were not read properly.
* Fix bug: when synchronizing view state of launchpad (among box view or text view), also synchronize swithview button icon.
* Fix bug: delete of an unknown command box in the launch pad did not delete it on server side.
* Keep arrow down and up for combo boxes, add CTRL key to move down/up among command boxes.
4.0.60 26/08/2020
------
......
......@@ -89,10 +89,14 @@ public class SWTDndManager extends DndManager {
setCursor(display.getActiveShell(), currentCopyCursor);
}
}
if (MainWindow.getInstance().getCurrentSelectionPlugin().isCommandsSelectionPlugin()) {
if (event.keyCode == SWT.ARROW_DOWN || event.keyCode == SWT.ARROW_UP || event.keyCode == SWT.ARROW_LEFT || event.keyCode == SWT.ARROW_RIGHT) {
CommandWindow.getInstance().onArrow(ctrlActive, event.keyCode);
if (ctrlActive) {
// Keep arrow down and up for combo boxes
// Add CTRL key to move down/up among command boxes
CommandWindow.getInstance().onArrow(ctrlActive, event.keyCode);
}
} else if (ctrlActive && (event.keyCode == SWT.HOME || event.keyCode == SWT.END)) {
CommandWindow.getInstance().onHomeEnd(event.keyCode);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment