Merge pull request #2082 from ctrlaltca/fix_2081
Remove newlines from Deck name in TabDeckEditor
This commit is contained in:
commit
0939cd8b21
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