Skip to content

Commit

Permalink
Set the visited color to the same as the normal color as we don't nee…
Browse files Browse the repository at this point in the history
…ded to distinguish between the two and the visited color is unreadable in dark mode
  • Loading branch information
dkulp committed Jan 2, 2025
1 parent 00cff86 commit cec6785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xLights/controllers/FPPConnectDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,11 @@ void FPPConnectDialog::PopulateFPPInstanceList(wxProgressDialog *prgs) {
}
auto link1 = new wxHyperlinkCtrl(FPPInstanceList, wxID_ANY, inst->hostName, lhn, wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE, "ID_HOSTNAME_" + rowStr);
link1->SetNormalColour(CyanOrBlue());
link1->SetVisitedColour(CyanOrBlue());
FPPInstanceSizer->Add(link1, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 1);
auto link2 = new wxHyperlinkCtrl(FPPInstanceList, wxID_ANY, inst->ipAddress, lip, wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE, "ID_IP_" + rowStr);
link2->SetNormalColour(CyanOrBlue());
link2->SetVisitedColour(CyanOrBlue());
FPPInstanceSizer->Add(link2, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 1);

auto label = new wxStaticText(FPPInstanceList, wxID_ANY, inst->description, wxDefaultPosition, wxDefaultSize, 0, "ID_DESCRIPTION_" + rowStr);
Expand Down

0 comments on commit cec6785

Please sign in to comment.