[Libreoffice-commits] core.git: vcl/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 7 00:40:37 UTC 2019
vcl/source/gdi/WidgetDefinition.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 7764439f85f23efb4510b41e795abd1e4c9089e9
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon May 6 22:10:57 2019 +0900
Commit: Tomaž Vajngerl <quikee at 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 <quikee at 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;
}
More information about the Libreoffice-commits
mailing list