From 9608ab16453c556ebe6c3cbf107e396b5f77f18e Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Thu, 9 Jan 2014 04:49:30 -0800 Subject: [PATCH] MGR: Small efficiency improvement in Simple View, --- clientgui/sg_TaskPanel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clientgui/sg_TaskPanel.cpp b/clientgui/sg_TaskPanel.cpp index c4c7e2a555..1078a9683b 100644 --- a/clientgui/sg_TaskPanel.cpp +++ b/clientgui/sg_TaskPanel.cpp @@ -417,7 +417,9 @@ numSlides = 0; if (!m_bHasBeenDrawn) { m_bHasBeenDrawn = true; - SetDescriptionText(); + if (numSlides <= 0) { + SetDescriptionText(); + } } }