Unverified Commit 6b8ca1b3 authored by Gagik Vardanyan's avatar Gagik Vardanyan Committed by GitHub
Browse files

Merge pull request #30417 from mantidproject/30415_disable_fit_in_browser_if_no_valid_function

Check if fit should be enabled after functions removed from fit browser
parents ef936ef3 4e33009f
......@@ -70,5 +70,6 @@ Bugfixes
- Fixed a crash in SliceViewer when hovering the cursor over Direct or Indirect data.
- Fixed a crash when using broken e notation for axis limits in plot settings
- Fixed a bug in error bars tab in plot settings where the Error Every property was not being shown correctly
- Fixed a bug where the fit action (Fit > Fit) in the fit browser wasn't disabled if all the functions were individually removed.
:ref:`Release 6.0.0 <v6.0.0>`
......@@ -465,6 +465,7 @@ void PropertyHandler::removeFunction() {
}
}
ph->renameChildren();
m_browser->setFitEnabled(cf->nFunctions() > 0);
}
}
......
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