summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian <zerov83@gmail.com>2016-03-31 21:07:16 +0200
committerChristian <zerov83@gmail.com>2016-03-31 21:07:16 +0200
commit893c0af051a0832b3bea59a1db4276c938e6211e (patch)
tree84bae3155956082aa8abf7aa338b63eb9132ddd2
parenteef71c613bdd5b6c5b2e944a49ba43c314b73b0f (diff)
downloadvdr-plugin-plex-893c0af051a0832b3bea59a1db4276c938e6211e.tar.gz
vdr-plugin-plex-893c0af051a0832b3bea59a1db4276c938e6211e.tar.bz2
Fixes nullptr
-rw-r--r--plexSdOsd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plexSdOsd.cpp b/plexSdOsd.cpp
index 5e93b1b..b976af4 100644
--- a/plexSdOsd.cpp
+++ b/plexSdOsd.cpp
@@ -153,7 +153,7 @@ eOSState cPlexSdOsd::ProcessKeyDetailView(eKeys Key)
state = eOSState::osEnd;
}
- if (state != osEnd && m_pDetailGrid->DrawTime()) m_pDetailGrid->Flush();
+ if (state != osEnd && m_pDetailsView && m_pDetailGrid->DrawTime()) m_pDetailGrid->Flush();
return state;
}