Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadGUI
Commits
7ffab573
Commit
7ffab573
authored
Sep 08, 2020
by
helene ortiz
Browse files
* Keep arrow down and up for combo boxes, add CTRL key to move down/up
among command boxes.
parent
c1cf8cb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
7ffab573
...
...
@@ -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
------
...
...
src/main/java/fr/ill/ics/client/view/dnd/swt/SWTDndManager.java
View file @
7ffab573
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment