Remove newlines from Deck name in TabDeckEditor
This commit is contained in:
parent
8cd5803556
commit
b0efcf9f89
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ void TabDeckEditor::retranslateUi()
|
|||
|
||||
QString TabDeckEditor::getTabText() const
|
||||
{
|
||||
QString result = tr("Deck: %1").arg(nameEdit->text());
|
||||
QString result = tr("Deck: %1").arg(nameEdit->text().simplified());
|
||||
if (modified)
|
||||
result.prepend("* ");
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue