Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2012-10-29 16:10:22 -0400
committerSteffen Pingel2012-10-29 16:50:02 -0400
commitc34a18920e37212c314f940127b4919abb30d746 (patch)
tree0b825de575d8fc6ef7be53b0dd72a23ed6707f46
parentcc1a2d0bb81cab578efd84e9547739548c209727 (diff)
downloadorg.eclipse.mylyn.tasks-c34a18920e37212c314f940127b4919abb30d746.tar.gz
org.eclipse.mylyn.tasks-c34a18920e37212c314f940127b4919abb30d746.tar.xz
org.eclipse.mylyn.tasks-c34a18920e37212c314f940127b4919abb30d746.zip
ASSIGNED - bug 389570: Widget is disposed error in
BugzillaSearchPage.doRefreshControls() https://bugs.eclipse.org/bugs/show_bug.cgi?id=389570 Change-Id: Ic6931323e61f8ff4dea7a4b679f107833874c455
-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