summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/CLCDList.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDList.h')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDList.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDList.h b/plugins/MirandaG15/src/LCDFramework/CLCDList.h
index 0f7006d46d..93284ba71a 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDList.h
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDList.h
@@ -400,7 +400,8 @@ public:
delete *iter;
m_Entrys.erase(iter);
- m_pRoot->UpdateEntryCount();
+ if (m_pRoot)
+ m_pRoot->UpdateEntryCount();
return;
}
}