Skip to content

Commit 0070c26

Browse files
committed
Fix valid url foreground in Windows dark mode
1 parent 940aa12 commit 0070c26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uis/src/com/biglybt/ui/swt/maketorrent/MultiTrackerEditor.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ private void editTreeItem(final TreeItem item) {
915915
public void handleEvent (Event e) {
916916
String url = text.getText();
917917
if ( validURL(url)){
918-
text.setForeground( null );
918+
Utils.setSkinnedForeground( text, null );
919919
item.setForeground( null );
920920
}else{
921921
text.setForeground( Colors.colorError );
@@ -932,7 +932,7 @@ public void handleEvent (Event e) {
932932
public void handleEvent (Event e) {
933933
String url = text.getText();
934934
if ( validURL(url)){
935-
text.setForeground( null );
935+
Utils.setSkinnedForeground( text, null );
936936
item.setForeground( null );
937937
}else{
938938
text.setForeground( Colors.colorError );

0 commit comments

Comments
 (0)