uitest: handle typing in a combobox correctly with sub edits
Change-Id: I20ad39075601deef36122f065ddfec8bd63dc1fe Reviewed-on: https://gerrit.libreoffice.org/32282 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user