mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
weather: fix possible segfault
This commit is contained in:
@@ -208,6 +208,9 @@ void CWeather::show(int x, int y)
|
|||||||
|
|
||||||
void CWeather::hide()
|
void CWeather::hide()
|
||||||
{
|
{
|
||||||
|
if (!form)
|
||||||
|
return;
|
||||||
|
|
||||||
if (form->isPainted())
|
if (form->isPainted())
|
||||||
{
|
{
|
||||||
form->hide();
|
form->hide();
|
||||||
|
Reference in New Issue
Block a user