Skip to content

Commit

Permalink
Fix broken translation for new editor tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
octaeder committed Feb 11, 2024
1 parent 5321280 commit fdb9514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/latexeditorview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ void LatexEditorView::viewActivated()
*/
QString LatexEditorView::displayName() const
{
return (!editor || editor->fileName().isEmpty() ? tr("untitled") : editor->name());
return (!editor || editor->fileName().isEmpty() ? (tr("untitled")) : editor->name());
}

/*!
Expand Down

0 comments on commit fdb9514

Please sign in to comment.