diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-06-19 16:26:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-06-19 16:27:17 +0100 |
commit | 99461ec3c33575a764065946ff7b4cbeb3e3741f (patch) | |
tree | 2b8800d2d213c52991596f4b3d867e7a8ab4477d /vcl | |
parent | 3212a2419416359f11e60c62cadeeaa8078c33a7 (diff) |
restore gtk3 menu separators
Change-Id: I48b302780db420346280d782c1804fe6e93c90be
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/menuitemlist.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/window/menuitemlist.cxx b/vcl/source/window/menuitemlist.cxx index b03ef0e89c56..95cf7a07875f 100644 --- a/vcl/source/window/menuitemlist.cxx +++ b/vcl/source/window/menuitemlist.cxx @@ -69,6 +69,8 @@ MenuItemData* MenuItemList::Insert( SalItemParams aSalMIData; aSalMIData.nId = nId; + aSalMIData.eType = eType; + aSalMIData.nBits = nBits; aSalMIData.pMenu = pMenu; aSalMIData.aText = rStr; @@ -99,6 +101,8 @@ void MenuItemList::InsertSeparator(const OString &rIdent, size_t nPos) SalItemParams aSalMIData; aSalMIData.nId = 0; + aSalMIData.eType = MenuItemType::SEPARATOR; + aSalMIData.nBits = MenuItemBits::NONE; aSalMIData.pMenu = nullptr; aSalMIData.aText.clear(); aSalMIData.aImage = Image(); |