Skip to content

Commit

Permalink
#1383 Updates tuner editor to resolve sequencing issue where a recent…
Browse files Browse the repository at this point in the history
…ly enabled tuner was having its enabled state set to true and then enabling the tuner, which caused the tuner editor to mis-configure the tuner editor panel. (#1385)

Co-authored-by: Dennis Sheirer <dsheirer@github.com>
  • Loading branch information
DSheirer and Dennis Sheirer authored Dec 25, 2022
1 parent 29ed3b4 commit f61a415
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@
import io.github.dsheirer.source.tuner.Tuner;
import io.github.dsheirer.source.tuner.TunerClass;
import io.github.dsheirer.source.tuner.configuration.TunerConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* A discovered tuner that may be accessible for use.
Expand Down Expand Up @@ -106,8 +105,8 @@ public void setEnabled(boolean enabled)

if(mEnabled)
{
setTunerStatus(TunerStatus.ENABLED);
start();
setTunerStatus(TunerStatus.ENABLED);
}
else
{
Expand Down

0 comments on commit f61a415

Please sign in to comment.