Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-12-22 15:58:18 -0500
committermkersten2006-12-22 15:58:18 -0500
commit8dd6d6a8d11ebb8c08068df5da61b34b1e4c8694 (patch)
treea701b379b5edce6045aee3c8de73fd719aeb1477
parentd73e9686a95dd8e9206d603c997fc2e99fd1c0f2 (diff)
downloadorg.eclipse.mylyn.tasks-8dd6d6a8d11ebb8c08068df5da61b34b1e4c8694.tar.gz
org.eclipse.mylyn.tasks-8dd6d6a8d11ebb8c08068df5da61b34b1e4c8694.tar.xz
org.eclipse.mylyn.tasks-8dd6d6a8d11ebb8c08068df5da61b34b1e4c8694.zip
RESOLVED - bug 165362: Switching from and then back to task editor should preserve focus
https://bugs.eclipse.org/bugs/show_bug.cgi?id=165362
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
index fdf083d18..9ce5aa9c0 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
@@ -286,17 +286,17 @@ public class TaskEditor extends FormEditor {
return;
}
- @Override
- public void setFocus() {
- if (this.getActivePage() > -1 && this.getActivePage() != browserPageIndex) {
- IFormPage page = this.getPages()[this.getActivePage()];
- if (page != null) {
- page.setFocus();
- }
- } else if(this.getActivePage() == browserPageIndex && webBrowser != null) {
- webBrowser.setFocus();
- }
- }
+// @Override
+// public void setFocus() {
+// if (this.getActivePage() > -1 && this.getActivePage() != browserPageIndex) {
+// IFormPage page = this.getPages()[this.getActivePage()];
+// if (page != null) {
+// page.setFocus();
+// }
+// } else if(this.getActivePage() == browserPageIndex && webBrowser != null) {
+// webBrowser.setFocus();
+// }
+// }
public Browser getWebBrowser() {
return webBrowser;

Back to the top