Skip to content
Snippets Groups Projects
Commit 534a3d6d authored by Ilka Antcheva's avatar Ilka Antcheva
Browse files

- removed last changes and additional fix

git-svn-id: http://root.cern.ch/svn/root/trunk@17023 27541ba8-7e3a-0410-8455-c3a389f83636
parent 1dca227d
No related branches found
No related tags found
No related merge requests found
// @(#)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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment