Don't show "N/A" as description when there is no Gecko code

"N/A" can be awkward to handle in translations.

I don't think there's much point in showing "N/A" rather than
leaving the description box blank, so let's just leave it blank.
This commit is contained in:
JosJuice 2017-11-02 14:37:45 +01:00
parent e29cd19f73
commit 7253c4bb52
1 changed files with 0 additions and 3 deletions

View File

@ -118,9 +118,6 @@ void GeckoCodeWidget::OnSelectionChanged()
m_code_description->clear(); m_code_description->clear();
if (code.notes.empty())
m_code_description->append(tr("N/A"));
for (const auto& line : code.notes) for (const auto& line : code.notes)
m_code_description->append(QString::fromStdString(line)); m_code_description->append(QString::fromStdString(line));