[DeckShare] Let the share bar owners supply the hint text

This commit is contained in:
Lukas Brübach 2026-09-19 00:06:47 +02:00 committed by GitHub
parent 3199a4821a
commit 4721404e8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View file

@ -210,6 +210,9 @@ void TabDeckStorage::retranslateUi()
aShareDecks->setText(tr("Share decks"));
aOpenDecksFolder->setText(tr("Open decks folder"));
shareBar->retranslateUi();
if (shareBar->isVisible()) {
onServerSelectionChanged();
}
}
QString TabDeckStorage::getTargetPath() const

View file

@ -69,6 +69,9 @@ void TabDeckStorageVisual::retranslateUi()
{
visualDeckStorageWidget->retranslateUi();
shareBar->retranslateUi();
if (shareBar->isVisible()) {
updateShareHint();
}
}
void TabDeckStorageVisual::actOpenLocalDeck(const QString &filePath)