Translation editor fixded

This commit is contained in:
Arin Alexander 2020-04-09 17:50:49 +03:00
parent 7a27a325d1
commit ae535fc9d3

View File

@ -216,6 +216,7 @@ void TranslationEditor::on_tbAddLanguage_clicked()
void TranslationEditor::on_tbDeleteLanguage_clicked() void TranslationEditor::on_tbDeleteLanguage_clicked()
{ {
if (!m_currentPageTranslation) return;
m_translationChanging = true; m_translationChanging = true;
m_translationContainer->removeTranslationLanguage(m_currentReportTranslation->language()); m_translationContainer->removeTranslationLanguage(m_currentReportTranslation->language());
updateUi(); updateUi();