mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Fixed an issue where newly entered ScreenScraper username and password values were positioned incorrectly vertically in the account settings menu
This commit is contained in:
parent
52966534d4
commit
947f252cb2
|
@ -182,6 +182,8 @@ void GuiScraperMenu::openAccountOptions()
|
|||
"", Font::get(FONT_SIZE_MEDIUM), mMenuColorPrimary, ALIGN_RIGHT);
|
||||
s->addEditableTextComponent(_("SCREENSCRAPER USERNAME"), scraperUsernameScreenScraper,
|
||||
Settings::getInstance()->getString("ScraperUsernameScreenScraper"));
|
||||
scraperUsernameScreenScraper->setSize(0.0f,
|
||||
scraperUsernameScreenScraper->getFont()->getHeight());
|
||||
s->addSaveFunc([scraperUsernameScreenScraper, s] {
|
||||
if (scraperUsernameScreenScraper->getValue() !=
|
||||
Settings::getInstance()->getString("ScraperUsernameScreenScraper")) {
|
||||
|
@ -202,6 +204,8 @@ void GuiScraperMenu::openAccountOptions()
|
|||
}
|
||||
s->addEditableTextComponent(_("SCREENSCRAPER PASSWORD"), scraperPasswordScreenScraper,
|
||||
passwordMasked, "", true);
|
||||
scraperPasswordScreenScraper->setSize(0.0f,
|
||||
scraperPasswordScreenScraper->getFont()->getHeight());
|
||||
s->addSaveFunc([scraperPasswordScreenScraper, s] {
|
||||
if (scraperPasswordScreenScraper->getHiddenValue() !=
|
||||
Settings::getInstance()->getString("ScraperPasswordScreenScraper")) {
|
||||
|
|
Loading…
Reference in a new issue