From 534a3d6db301b956e51bf9dc1158109be637937c Mon Sep 17 00:00:00 2001
From: Ilka Antcheva <Ilka.Antcheva@cern.ch>
Date: Fri, 1 Dec 2006 16:21:08 +0000
Subject: [PATCH] - removed last changes and additional fix

git-svn-id: http://root.cern.ch/svn/root/trunk@17023 27541ba8-7e3a-0410-8455-c3a389f83636
---
 fitpanel/src/TFitEditor.cxx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/fitpanel/src/TFitEditor.cxx b/fitpanel/src/TFitEditor.cxx
index c1be69f8d93..1ab88589cd4 100644
--- a/fitpanel/src/TFitEditor.cxx
+++ b/fitpanel/src/TFitEditor.cxx
@@ -1,4 +1,4 @@
-// @(#)root/fitpanel:$Name:  $:$Id: TFitEditor.cxx,v 1.15 2006/11/29 15:13:34 antcheva Exp $
+// @(#)root/fitpanel:$Name:  $:$Id: TFitEditor.cxx,v 1.16 2006/11/30 16:43:12 antcheva Exp $
 // Author: Ilka Antcheva, Lorenzo Moneta 10/08/2006
 
 /*************************************************************************
@@ -551,7 +551,6 @@ TFitEditor::TFitEditor(TVirtualPad* pad, TObject *obj) :
    if (pad && obj) {
       fParentPad = (TPad *)pad;
       fFitObject = (TObject *)obj;
-      fFitObject->SetBit(kCanDelete);
       SetCanvas(pad->GetCanvas());
       pad->GetCanvas()->Selected(pad, obj, kButton1Down);
    } else {
@@ -987,7 +986,6 @@ void TFitEditor::SetFitObject(TVirtualPad *pad, TObject *obj, Int_t event)
    fEnteredFunc->SelectAll();
    if (!fFitFunc) {
       fFitFunc = new TF1("fitFunc",fFunction.Data(),fXmin,fXmax);
-      fFitFunc->SetBit(kCanDelete);
    }
 
    // Update the information about the selected object.
-- 
GitLab