Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2011-03-12 13:32:36 +0000
committerfbecker2011-03-12 13:32:36 +0000
commite45640af5b894f1ab082ad404f4733eda2f3acfb (patch)
tree784815d0fc48602d1b310b739377070f484e68b7 /org.eclipse.mylyn.bugzilla.ui
parent2bb97c50dae6d412731d73e3ce898ede65e83b20 (diff)
downloadorg.eclipse.mylyn.tasks-e45640af5b894f1ab082ad404f4733eda2f3acfb.tar.gz
org.eclipse.mylyn.tasks-e45640af5b894f1ab082ad404f4733eda2f3acfb.tar.xz
org.eclipse.mylyn.tasks-e45640af5b894f1ab082ad404f4733eda2f3acfb.zip
ASSIGNED - bug 339635: More options in search page should be expanded when any of its fields are not empty
https://bugs.eclipse.org/bugs/show_bug.cgi?id=339635
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
index 4d49a2699..70de3861c 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
@@ -2264,7 +2264,14 @@ public class BugzillaSearchPage extends AbstractRepositoryQueryPage implements L
priority.getSelection().length > 0 || resolution.getSelection().length > 0
|| version.getSelection().length > 0 || target.getSelection().length > 0
|| hardware.getSelection().length > 0 || os.getSelection().length > 0) {
+ moreOptionsSection.setExpanded(true);
+ scrolledComposite.reflow(true);
+ refreshChartControls();
+ }
+ if (charts.size() > 0 && charts.get(0).getChartExpression(0, 0).getFieldName() > 0) {
chartSection.setExpanded(true);
+ scrolledComposite.reflow(true);
+ refreshChartControls();
}
} catch (IllegalArgumentException e) {

Back to the top