summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-12 20:32:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-13 12:10:25 +0100
commite8fb216a99f6061dcb63557a1ae8de5f8b589344 (patch)
tree5f52bd0290767ba4902eabb3d91a6c5710d34683 /vcl
parentbe3e037b38be4c6bd821bc5261dcd85f18196214 (diff)
support accepts-tab property
Change-Id: I8c071dd76e9ea84ee9aaf9cdd06b2103df4fd789
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/edit/vclmedit.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index 922cf18e929d..5970b3c6c2d2 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -1573,6 +1573,8 @@ bool VclMultiLineEdit::set_property(const OString &rKey, const OString &rValue)
{
if (rKey == "cursor-visible")
EnableCursor(toBool(rValue));
+ else if (rKey == "accepts-tab")
+ pImpVclMEdit->GetTextWindow()->SetIgnoreTab(!toBool(rValue));
else
return Edit::set_property(rKey, rValue);
return true;