summaryrefslogtreecommitdiff
path: root/txtrecv.c
diff options
context:
space:
mode:
Diffstat (limited to 'txtrecv.c')
-rw-r--r--txtrecv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/txtrecv.c b/txtrecv.c
index 5c73a79..3dc89f6 100644
--- a/txtrecv.c
+++ b/txtrecv.c
@@ -495,7 +495,7 @@ void cTxtStatus::ChannelSwitch(const cDevice *Device, int ChannelNumber
#if APIVERSNUM >= 10725
// Disconnect receiver if channel is 0, will reconnect to new
// receiver after channel change.
- if (ChannelNumber == 0 && Device->IsPrimaryDevice())
+ if (LiveView && ChannelNumber == 0)
DELETENULL(receiver);
#endif