Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: 7c4b88ea by Tony Chemit at 2020-12-24T12:00:36+01:00 Commencer les raccourcis claviers pour changer d'onglet à partir de **shift F1** et plus **shift F5** - Closes #1696 - - - - - 1 changed file: - client/datasource/editor/api/src/main/java/fr/ird/observe/client/datasource/editor/api/content/actions/GoToTab.java Changes: ===================================== client/datasource/editor/api/src/main/java/fr/ird/observe/client/datasource/editor/api/content/actions/GoToTab.java ===================================== @@ -56,7 +56,7 @@ public class GoToTab extends ContentUIActionSupport<ContentUI> { int tabCount = tabbedPane.getTabCount(); for (int i = 0; i < tabCount; i++) { String titleAt = tabbedPane.getTitleAt(i); - KeyStroke keyStroke = Objects.requireNonNull(KeyStroke.getKeyStroke(keyStrokePrefix + (i + 6))); + KeyStroke keyStroke = Objects.requireNonNull(KeyStroke.getKeyStroke(keyStrokePrefix + (i + 1))); tabbedPane.setTitleAt(i, titleAt + ObserveKeyStrokesSupport.keyStrokeToStr(keyStroke)); GoToTab action = new GoToTab(tabbedPaneName, i, keyStroke); init(ui, null, action); View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/7c4b88ead09b289587fdd99236... -- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/7c4b88ead09b289587fdd99236... You're receiving this email because of your account on gitlab.com.