@@ -431,13 +431,6 @@ LfpDisplayOptions::LfpDisplayOptions(LfpDisplayCanvas* canvas_, LfpDisplaySplitt
431431 lfpDisplay->setRange (voltageRanges[ContinuousChannel::Type::AUX][selectedVoltageRange[ContinuousChannel::Type::AUX] - 1 ].getFloatValue ()
432432 *rangeGain[ContinuousChannel::Type::AUX]
433433 , ContinuousChannel::Type::AUX);
434-
435- refreshButton = new UtilityButton (" Refresh" , Font (" Default" , " Plain" , 15 ));
436- refreshButton->setRadius (5 .0f );
437- refreshButton->setEnabledState (true );
438- refreshButton->setCorners (true , true , true , true );
439- refreshButton->addListener (this );
440- addAndMakeVisible (refreshButton.get ());
441434
442435}
443436
@@ -472,10 +465,7 @@ void LfpDisplayOptions::resized()
472465
473466 pauseButton->setBounds (680 , getHeight () - 40 , 70 , 30 );
474467
475- refreshButton->setBounds (765 , getHeight () - 40 , 70 , 30 );
476-
477-
478- colourSchemeOptionSelection->setBounds (refreshButton->getRight () + 30 ,
468+ colourSchemeOptionSelection->setBounds (pauseButton->getRight () + 30 ,
479469 getHeight () - 30 ,
480470 180 ,
481471 height);
@@ -940,12 +930,6 @@ void LfpDisplayOptions::buttonClicked(Button* b)
940930 timescale->setPausedState (b->getToggleState ());
941931 return ;
942932 }
943-
944- if (b == refreshButton.get ())
945- {
946- lfpDisplay->rebuildDrawableChannelsList ();
947- return ;
948- }
949933
950934 if (b == showHideOptionsButton.get ())
951935 {
0 commit comments