diff --git a/qt/widgets/common/src/MuonFitPropertyBrowser.cpp b/qt/widgets/common/src/MuonFitPropertyBrowser.cpp index 52fb3e30fa3364b8e602adc5d4963967c2edb955..8812e66448f9095d63119f1a0c76397ad6994362 100644 --- a/qt/widgets/common/src/MuonFitPropertyBrowser.cpp +++ b/qt/widgets/common/src/MuonFitPropertyBrowser.cpp @@ -336,9 +336,14 @@ void MuonFitPropertyBrowser::setFitEnabled(bool yes) { } void MuonFitPropertyBrowser::checkFitEnabled() { - if (m_reselectGroupBtn->isVisible()) { + if (m_isMultiFittingMode && m_compositeFunction->nFunctions() == 0) { setFitEnabled(false); - } else if (getAutoBackgroundString() != "") { + } + else if (m_isMultiFittingMode){ + setFitEnabled(true); + + } + else if (getAutoBackgroundString() != "") { setFitEnabled(true); } else { setFitEnabled(false);