diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/network_content_gui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index 7d3c223db..b179e2091 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -435,6 +435,9 @@ public: void DrawMatrix(const Rect &r) const { + /* Is there something to do? */ + if (this->content.Length() == 0) return; + const NWidgetBase *nwi_checkbox = this->GetWidget<NWidgetBase>(NCLWW_CHECKBOX); const NWidgetBase *nwi_name = this->GetWidget<NWidgetBase>(NCLWW_NAME); const NWidgetBase *nwi_type = this->GetWidget<NWidgetBase>(NCLWW_TYPE); |