Skip to content

Commit

Permalink
Fix channel scan insertion (wasn't being called).
Browse files Browse the repository at this point in the history
The Teardown() call is actually deleting sigmonScanner these days,
so we can't require that it still exists before starting processing.
  • Loading branch information
daniel-kristjansson committed Oct 29, 2012
1 parent f1d47fc commit c2585d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmythtv/channelscan/channelscanner_gui.cpp
Expand Up @@ -115,8 +115,7 @@ void ChannelScannerGUI::HandleEvent(const ScannerEvent *scanEvent)
Teardown();

int ret = scanEvent->intValue();
if (sigmonScanner &&
(!transports.empty() || (MythDialog::Rejected != ret)))
if (!transports.empty() || (MythDialog::Rejected != ret))
{
Process(transports);
}
Expand Down

0 comments on commit c2585d6

Please sign in to comment.