Manager: Fix the search field placeholder not being updated on language change

This commit is contained in:
Alexander Babikov
2025-12-05 16:12:05 +05:00
parent 75499ad251
commit c9fb23c5b1

View File

@@ -834,6 +834,7 @@ VMManagerMain::onLanguageUpdated()
{
vm_model->refreshConfigs();
modelDataChange();
ui->searchBar->setPlaceholderText(tr("Search"));
/* Hack to work around details widgets not being re-translatable
without going through layers of abstraction */
ui->detailsArea->layout()->removeWidget(vm_details);