From 4571c36b0c8f2f21d2a6006b0f86be248b8eed2f Mon Sep 17 00:00:00 2001
From: Anthony Lim <anthony.lim@stfc.ac.uk>
Date: Thu, 22 Mar 2018 10:45:26 +0000
Subject: [PATCH] refs #22160 clang format for muon fit menu disabled

(cherry picked from commit bc49ccb15fd44c0db935d6caf9f2924313c6fe8e)
---
 qt/widgets/common/src/MuonFitPropertyBrowser.cpp | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/qt/widgets/common/src/MuonFitPropertyBrowser.cpp b/qt/widgets/common/src/MuonFitPropertyBrowser.cpp
index 8812e66448f..d869e315eef 100644
--- a/qt/widgets/common/src/MuonFitPropertyBrowser.cpp
+++ b/qt/widgets/common/src/MuonFitPropertyBrowser.cpp
@@ -338,12 +338,10 @@ void MuonFitPropertyBrowser::setFitEnabled(bool yes) {
 void MuonFitPropertyBrowser::checkFitEnabled() {
   if (m_isMultiFittingMode && m_compositeFunction->nFunctions() == 0) {
     setFitEnabled(false);
-  }
-  else if (m_isMultiFittingMode){
-	  setFitEnabled(true);
+  } else if (m_isMultiFittingMode) {
+    setFitEnabled(true);
 
-  }
-  else if (getAutoBackgroundString() != "") {
+  } else if (getAutoBackgroundString() != "") {
     setFitEnabled(true);
   } else {
     setFitEnabled(false);
-- 
GitLab