diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-08-16 23:40:28 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-08-16 23:40:28 +0000 |
| commit | 5af6333a08bcaa0460e12660a792e5425dbb4634 (patch) | |
| tree | 0cbd4e83b14ef6a791a9bfc4ea981a2871a6e180 /lib/gui/elistboxcontent.cpp | |
| parent | c97765bc7f4cfdf7372c0803e8825595574e87d4 (diff) | |
| download | enigma2-5af6333a08bcaa0460e12660a792e5425dbb4634.tar.gz enigma2-5af6333a08bcaa0460e12660a792e5425dbb4634.zip | |
- fix segfault when there was no attached listbox
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index 94ad0bcb..f969a3bb 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -379,7 +379,8 @@ PyObject *eListboxPythonStringContent::getCurrentSelection() void eListboxPythonStringContent::invalidateEntry(int index) { - m_listbox->entryChanged(index); + if (m_listbox) + m_listbox->entryChanged(index); } ////////////////////////////////////// |
