Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
7c4b88ea
by Tony Chemit at 2020-12-24T12:00:36+01:00
1 changed file:
Changes:
| ... | ... | @@ -56,7 +56,7 @@ public class GoToTab extends ContentUIActionSupport<ContentUI> { |
| 56 | 56 |
int tabCount = tabbedPane.getTabCount();
|
| 57 | 57 |
for (int i = 0; i < tabCount; i++) {
|
| 58 | 58 |
String titleAt = tabbedPane.getTitleAt(i);
|
| 59 |
- KeyStroke keyStroke = Objects.requireNonNull(KeyStroke.getKeyStroke(keyStrokePrefix + (i + 6)));
|
|
| 59 |
+ KeyStroke keyStroke = Objects.requireNonNull(KeyStroke.getKeyStroke(keyStrokePrefix + (i + 1)));
|
|
| 60 | 60 |
tabbedPane.setTitleAt(i, titleAt + ObserveKeyStrokesSupport.keyStrokeToStr(keyStroke));
|
| 61 | 61 |
GoToTab action = new GoToTab(tabbedPaneName, i, keyStroke);
|
| 62 | 62 |
init(ui, null, action);
|