Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2012-10-29 16:10:22 -0400
committerFrank Becker2012-10-29 16:29:29 -0400
commit35f87843b25c70d29aa716a51d31f17ceebdaf9a (patch)
treebddb342253d3dc90c6906ddf04bb3b7bb9215f3a /org.eclipse.mylyn.tasks.ui
parent8e4339cfbe6c03dbbd6364efa67088914d528af6 (diff)
downloadorg.eclipse.mylyn.tasks-35f87843b25c70d29aa716a51d31f17ceebdaf9a.tar.gz
org.eclipse.mylyn.tasks-35f87843b25c70d29aa716a51d31f17ceebdaf9a.tar.xz
org.eclipse.mylyn.tasks-35f87843b25c70d29aa716a51d31f17ceebdaf9a.zip
ASSIGNED - bug 389570: Widget is disposed error in
BugzillaSearchPage.doRefreshControls() https://bugs.eclipse.org/bugs/show_bug.cgi?id=389570 Change-Id: Ic6931323e61f8ff4dea7a4b679f107833874c455
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java
index 3481bdf12..294b7b6f7 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositoryQueryPage2.java
@@ -275,7 +275,9 @@ public abstract class AbstractRepositoryQueryPage2 extends AbstractRepositoryQue
boolean refreshed = refreshConfiguration(false);
if (!refreshed) {
// always do a refresh when page is initially shown
- doRefreshControls();
+ if (!innerComposite.isDisposed()) {
+ doRefreshControls();
+ }
}
}
boolean restored = false;
@@ -287,7 +289,9 @@ public abstract class AbstractRepositoryQueryPage2 extends AbstractRepositoryQue
}
if (!restored) {
// initialize with default values
- doClearControls();
+ if (!innerComposite.isDisposed()) {
+ doClearControls();
+ }
}
}
@@ -296,7 +300,9 @@ public abstract class AbstractRepositoryQueryPage2 extends AbstractRepositoryQue
setErrorMessage(null);
try {
doRefreshConfiguration();
- doRefreshControls();
+ if (!innerComposite.isDisposed()) {
+ doRefreshControls();
+ }
return true;
} catch (InvocationTargetException e) {
if (e.getCause() instanceof CoreException) {

Back to the top