Kaydet (Commit) c76f89ed authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Jan Holesovsky

WidgetDefinition: add "action" state for the PushButton

Change-Id: I0db9ec275cc95184ceb2cdbce8ae5343a10582c1
Reviewed-on: https://gerrit.libreoffice.org/71862Reviewed-by: 's avatarJan Holesovsky <kendy@collabora.com>
Tested-by: 's avatarJan Holesovsky <kendy@collabora.com>
üst 79dbfbec
......@@ -99,6 +99,12 @@ WidgetDefinitionPart::getStates(ControlType eType, ControlPart ePart, ControlSta
}
}
break;
case ControlType::Pushbutton:
{
auto const& rPushButtonValue = static_cast<PushButtonValue const&>(rValue);
if (rPushButtonValue.mbIsAction)
sExtra = "action";
}
default:
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment