Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-03-12 15:38:33 -0500
committerspingel2011-03-12 15:38:33 -0500
commit0b791c4955a8aba2dbd60a745e4a110d69928c02 (patch)
tree6f8576da0d11f8b25e8f7f9e7f06736217cdd3e7
parent2bb97c50dae6d412731d73e3ce898ede65e83b20 (diff)
downloadorg.eclipse.mylyn.tasks-0b791c4955a8aba2dbd60a745e4a110d69928c02.tar.gz
org.eclipse.mylyn.tasks-0b791c4955a8aba2dbd60a745e4a110d69928c02.tar.xz
org.eclipse.mylyn.tasks-0b791c4955a8aba2dbd60a745e4a110d69928c02.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
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java9
1 files changed, 9 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..d2f2105fd 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) {
@@ -2657,5 +2664,7 @@ public class BugzillaSearchPage extends AbstractRepositoryQueryPage implements L
chartSection.layout(true);
scrolledComposite.reflow(true);
refreshChartControls();
+
+ Dialog.applyDialogFont(chartSection);
}
}

Back to the top