diff --git a/qt/widgets/common/src/MuonFitPropertyBrowser.cpp b/qt/widgets/common/src/MuonFitPropertyBrowser.cpp index 57f13481e30ba0f56ece6aaed2ab43fc5167a327..06cd4d535cc3959b881d3bef28586b4a8c5a9ed3 100644 --- a/qt/widgets/common/src/MuonFitPropertyBrowser.cpp +++ b/qt/widgets/common/src/MuonFitPropertyBrowser.cpp @@ -1259,9 +1259,9 @@ void MuonFitPropertyBrowser::setTFAsymmMode(bool enabled) { m_settingsGroup->property()->removeSubProperty(m_keepNorm); } } else if (enabled) { - g_log.warning("No fitting function provided. Please add a function"); - // will update when user clicks elsewhere - m_boolManager->setValue(m_TFAsymmMode, false); + // will update when user clicks elsewhere + m_boolManager->setValue(m_TFAsymmMode, false); + QMessageBox::warning(this, "Muon Analysis", "No fitting function provided. TF Asymmetry mode requires a fitting function to be added before enabling. Please add a fitting function and enable TF Asymmetry Mode again."); } } std::string MuonFitPropertyBrowser::TFExtension() const {