From 4fdb5d0b23f9b99650f366e2fce06c88dcce85fe Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 16 Jan 2017 12:10:14 +0100 Subject: [PATCH] CTextBox: remove text reinit from reInitToCompareVar() Will be already done after each text render. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ae903ddb2f738784ccbc97547b3b905454ba22aa Author: Thilo Graf Date: 2017-01-16 (Mon, 16 Jan 2017) ------------------ This commit was generated by Migit --- src/gui/widget/textbox.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/widget/textbox.cpp b/src/gui/widget/textbox.cpp index 79cc95e30..ac9cc8acb 100644 --- a/src/gui/widget/textbox.cpp +++ b/src/gui/widget/textbox.cpp @@ -573,7 +573,6 @@ void CTextBox::reInitToCompareVar(int* x, int* y, int* dx, int* dy) m_old_nBgRadius = m_nBgRadius; m_old_nBgRadiusType = m_nBgRadiusType; m_old_nMode = m_nMode; - m_old_cText = m_cText; } void CTextBox::refreshText(void)