diff --git a/limereport/translationeditor/translationeditor.cpp b/limereport/translationeditor/translationeditor.cpp index c686258..8006c3b 100644 --- a/limereport/translationeditor/translationeditor.cpp +++ b/limereport/translationeditor/translationeditor.cpp @@ -216,6 +216,7 @@ void TranslationEditor::on_tbAddLanguage_clicked() void TranslationEditor::on_tbDeleteLanguage_clicked() { + if (!m_currentPageTranslation) return; m_translationChanging = true; m_translationContainer->removeTranslationLanguage(m_currentReportTranslation->language()); updateUi();