diff options
Diffstat (limited to 'vcl/source/uitest/uiobject.cxx')
-rw-r--r-- | vcl/source/uitest/uiobject.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index 0aff1e08f08c..d5b1d7082787 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -799,6 +799,19 @@ void ComboBoxUIObject::execute(const OUString& rAction, } mxComboBox->Select(); } + else if (rAction == "TYPE") + { + if (mxComboBox->GetSubEdit()) + { + Edit* pEdit = mxComboBox->GetSubEdit(); + std::unique_ptr<UIObject> pObj = EditUIObject::create(pEdit); + pObj->execute(rAction, rParameters); + } + else + WindowUIObject::execute(rAction, rParameters); + } + else + WindowUIObject::execute(rAction, rParameters); } StringMap ComboBoxUIObject::get_state() |