Skip to content

Commit 32039d2

Browse files
committed
Bug 531820 - [Dark Theme] Breakpoints View has white part if it has no
focus Change-Id: I051f48cf22e08c26b744f24d6ff34b28badd3217 Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/190973 Reviewed-by: Lakshmi P Shanmugam <[email protected]> Reviewed-by: Sarika Sinha <[email protected]> Tested-by: Sarika Sinha <[email protected]>
1 parent eede375 commit 32039d2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/breakpoints/JavaBreakpointConditionEditor.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2009, 2019 IBM Corporation and others.
2+
* Copyright (c) 2009, 2022 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -70,7 +70,6 @@
7070
import org.eclipse.swt.events.FocusEvent;
7171
import org.eclipse.swt.events.SelectionAdapter;
7272
import org.eclipse.swt.events.SelectionEvent;
73-
import org.eclipse.swt.graphics.Color;
7473
import org.eclipse.swt.graphics.FontMetrics;
7574
import org.eclipse.swt.graphics.GC;
7675
import org.eclipse.swt.graphics.Rectangle;
@@ -603,9 +602,6 @@ private void setEnabled(boolean enabled, boolean focus) {
603602
if (focus) {
604603
setFocus();
605604
}
606-
} else {
607-
Color color = fViewer.getControl().getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND);
608-
fViewer.getTextWidget().setBackground(color);
609605
}
610606
if (hasConditionHistory()) {
611607
fConditionHistory.setEnabled(enabled);

0 commit comments

Comments
 (0)