aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/TextButton.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc
index 6bcb0e7..054995a 100644
--- a/src/FbTk/TextButton.cc
+++ b/src/FbTk/TextButton.cc
@@ -76,6 +76,8 @@ bool TextButton::setOrientation(FbTk::Orientation orient) {
76 } else { 76 } else {
77 m_orientation = orient; 77 m_orientation = orient;
78 } 78 }
79 updateBackground(false);
80 clear();
79 return true; 81 return true;
80} 82}
81 83