vcl/source/gdi/WidgetDefinition.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 7764439f85f23efb4510b41e795abd1e4c9089e9 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon May 6 22:10:57 2019 +0900 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Tue May 7 02:40:04 2019 +0200 WidgetDefinition: add "action" state for the PushButton Change-Id: I0db9ec275cc95184ceb2cdbce8ae5343a10582c1 Reviewed-on: https://gerrit.libreoffice.org/71861 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/source/gdi/WidgetDefinition.cxx b/vcl/source/gdi/WidgetDefinition.cxx index 6eb6ae7fa3ac..2a8ae5025020 100644 --- a/vcl/source/gdi/WidgetDefinition.cxx +++ b/vcl/source/gdi/WidgetDefinition.cxx @@ -99,6 +99,13 @@ WidgetDefinitionPart::getStates(ControlType eType, ControlPart ePart, ControlSta } } break; + case ControlType::Pushbutton: + { + auto const& rPushButtonValue = static_cast<PushButtonValue const&>(rValue); + if (rPushButtonValue.mbIsAction) + sExtra = "action"; + } + break; default: break; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits