diff options
Diffstat (limited to 'vcl/source/uitest/uiobject.cxx')
-rw-r--r-- | vcl/source/uitest/uiobject.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index 899fbb97d75c..af3f486569d8 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -21,6 +21,7 @@ #include <vcl/vclmedit.hxx> #include <comphelper/string.hxx> +#include <comphelper/lok.hxx> #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> @@ -936,7 +937,11 @@ ListBoxUIObject::~ListBoxUIObject() void ListBoxUIObject::execute(const OUString& rAction, const StringMap& rParameters) { - if (!mxListBox->IsEnabled() || !mxListBox->IsReallyVisible()) + if (!mxListBox->IsEnabled()) + return; + + bool isTiledRendering = comphelper::LibreOfficeKit::isActive(); + if (!isTiledRendering && !mxListBox->IsReallyVisible()) return; if (rAction == "SELECT") |