This is an automated email from the ASF dual-hosted git repository.
matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 853b3ac Fix show 'Visual Debugging' options
new 921f707 Merge pull request #2821 from philippefichet/master
853b3ac is described below
commit 853b3aceae1a1b34fecc6218dbc85f64b61fdb01
Author: FICHET Philippe <[email protected]>
AuthorDate: Sat Mar 20 23:07:33 2021 +0100
Fix show 'Visual Debugging' options
---
.../netbeans/modules/debugger/jpda/ui/options/JavaDebuggerPanel.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/java/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/options/JavaDebuggerPanel.java
b/java/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/options/JavaDebuggerPanel.java
index 9e76841..9728464 100644
---
a/java/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/options/JavaDebuggerPanel.java
+++
b/java/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/options/JavaDebuggerPanel.java
@@ -138,7 +138,7 @@ final class JavaDebuggerPanel extends StorablePanel {
private void
categoriesListValueChanged(javax.swing.event.ListSelectionEvent evt)
{//GEN-FIRST:event_categoriesListValueChanged
int c = categoriesList.getSelectedIndex();
- if (c >= 0 && c <= 3) {
+ if (c >= 0 && c < categoryPanels.length) {
selectCategory(c);
}
}//GEN-LAST:event_categoriesListValueChanged
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists