MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / updateBaseURLNote

Method updateBaseURLNote

launcher/ui/pages/global/APIPage.cpp:113–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void APIPage::updateBaseURLNote(int index)
114{
115 if (baseURLPasteType == index)
116 {
117 ui->baseURLNote->hide();
118 }
119 else if (!ui->baseURLEntry->text().isEmpty())
120 {
121 ui->baseURLNote->show();
122 }
123}
124
125void APIPage::updateBaseURLPlaceholder(int index)
126{

Callers

nothing calls this directly

Calls 4

hideMethod · 0.80
isEmptyMethod · 0.80
showMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected