Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java
index 7844424a7..881290b8e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2018 IBM Corporation and others.
+ * Copyright (c) 2000, 2019 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -226,10 +226,7 @@ public class ConsolePreferencePage extends FieldEditorPreferencePage implements
}
protected boolean canClearErrorMessage() {
- if (fWidthEditor.isValid() && fBufferSizeEditor.isValid()) {
- return true;
- }
- return false;
+ return fWidthEditor.isValid() && fBufferSizeEditor.isValid() && fTabSizeEditor.isValid();
}
/**
@@ -249,6 +246,9 @@ public class ConsolePreferencePage extends FieldEditorPreferencePage implements
if (fBufferSizeEditor != null && event.getSource() != fBufferSizeEditor) {
fBufferSizeEditor.refreshValidState();
}
+ if (fTabSizeEditor != null && event.getSource() != fTabSizeEditor) {
+ fTabSizeEditor.refreshValidState();
+ }
checkState();
} else {
super.propertyChange(event);

Back to the top