Commit 624a44f6 authored by Laurent Montel's avatar Laurent Montel 😁

Avoid to clear editor when not necessary

parent 0bb723f8
......@@ -346,7 +346,6 @@ void TranslatorWidget::slotFromLanguageChanged(int index, bool initialize)
d->to->setCurrentIndex(indexTo);
}
if (!initialize) {
d->translatorResultTextEdit->clear();
slotTranslate();
}
}
......@@ -354,7 +353,6 @@ void TranslatorWidget::slotFromLanguageChanged(int index, bool initialize)
void TranslatorWidget::setTextToTranslate(const QString &text)
{
d->inputText->setPlainText(text);
d->translatorResultTextEdit->clear();
slotTranslate();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment