summaryrefslogtreecommitdiffstats
path: root/src/VButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VButton.cpp')
-rw-r--r--src/VButton.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/VButton.cpp b/src/VButton.cpp
index c949612..e44feba 100644
--- a/src/VButton.cpp
+++ b/src/VButton.cpp
@@ -51,6 +51,8 @@ void VButton::shiftCapsPressed(bool shift, bool caps)
void VButton::setText(const TQString& text)
{
+ // Need to set the pushbutton text to correctly handle those buttons which usually
+ // don't change (tab, shift, caps, Fn, ...)
TQPushButton::setText(text);
lowerText = text;
isAlpha = text.length() == 1 && (text.upper() != text);