We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec531f commit 9954327Copy full SHA for 9954327
1 file changed
src/main/java/com/junichi11/netbeans/modules/github/issues/query/GitHubDefaultQuery.java
@@ -42,6 +42,8 @@
42
package com.junichi11.netbeans.modules.github.issues.query;
43
44
import com.junichi11.netbeans.modules.github.issues.repository.GitHubRepository;
45
+import com.junichi11.netbeans.modules.github.issues.utils.UiUtils;
46
+import javax.swing.SwingUtilities;
47
48
abstract class GitHubDefaultQuery extends GitHubQuery {
49
@@ -70,6 +72,13 @@ public final boolean canRemove() {
70
72
71
73
@Override
74
public void remove() {
- // noop
75
+ // XXX can remove a query even if canRemove is false
76
+ // open options panel as a workaround
77
+ SwingUtilities.invokeLater(new Runnable() {
78
+ @Override
79
+ public void run() {
80
+ UiUtils.showOptions();
81
+ }
82
+ });
83
}
84
0 commit comments