Permalink
Browse files

Fix channel scan insertion (wasn't being called).

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 c2585d6b6017bce2529b78154cfc291f6eef295b
Showing with 1 addition and 2 deletions.
  1. +1 −2 mythtv/libs/libmythtv/channelscan/channelscanner_gui.cpp
@@ -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);
}

0 comments on commit c2585d6

Please sign in to comment.