summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2018-04-18 12:27:15 +0300
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-06-20 12:52:17 +0200
commit89a3f789de928a08650de03681c45cbf544889ad (patch)
treec412221a17bcd760a514c67d751e5d3b1af9a012 /vcl
parent1f8d45c276760a173c3e30c78b8b740414a5b05f (diff)
Add UI test for the Customize dialog
Change-Id: I00109ef54ec7cfc1f4976794daa92ded3cd6ce4b Reviewed-on: https://gerrit.libreoffice.org/53119 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/uitest/uiobject.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index adf26cbb2ac8..e5ac0895dea8 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -659,6 +659,12 @@ void EditUIObject::execute(const OUString& rAction,
mxEdit->SetSelection(aSelection);
}
}
+ else if (rAction == "CLEAR")
+ {
+ mxEdit->SetText("");
+ mxEdit->UpdateData();
+ bHandled = true;
+ }
else
{
bHandled = false;