Ignore:
Timestamp:
03/01/01 17:47:30 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/meventdisp/MGFadcDisp.cc

    r661 r662  
    278278  //   the list of pixels in the fPixelList (TGListBox)
    279279  //
     280  const Int_t redraw = fPixelList->GetSelected() ;
    280281 
    281282  MRawEvtPixelIter fPixelIter( fEvtData );
    282283
    283284  //   put the selection of the last event in memory
    284   const Int_t redraw = fPixelList->GetSelected() ;
    285  
    286   fPixelList->RemoveEntries(0, fPixelsinList) ;
    287   fPixelsinList = 0 ;
     285 
     286  fPixelList->RemoveEntries(0, fPixelIter.GetNumPixels()) ;
    288287
    289288  while ( fPixelIter.Next() )
     
    293292        sprintf( wortdummy, "%d", fPixelIter.GetPixelId() ) ;
    294293
    295         fPixelList->AddEntry( wortdummy, fPixelsinList++ ) ;
     294        fPixelList->AddEntry( wortdummy, fPixelIter.GetNumEntry()) ;
    296295    }
    297296
Note: See TracChangeset for help on using the changeset viewer.