vcl/qt5/Qt5Menu.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 82c1ff5177a0d182702151fba9c4256939c1322e Author: Katarina Behrens <katarina.behr...@cib.de> AuthorDate: Thu Dec 27 17:27:54 2018 +0100 Commit: Thorsten Behrens <thorsten.behr...@cib.de> CommitDate: Wed Jan 23 01:29:24 2019 +0100
tdf#120877: make menu items checkable as needed Change-Id: I5a07526aa5187313977d6f7c244541be83b5edbc Reviewed-on: https://gerrit.libreoffice.org/65930 Tested-by: Jenkins Reviewed-by: Katarina Behrens <katarina.behr...@cib.de> (cherry picked from commit 4de638c14c0a74e29e213fd53cd01cad93285aa4) Reviewed-on: https://gerrit.libreoffice.org/66747 Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de> diff --git a/vcl/qt5/Qt5Menu.cxx b/vcl/qt5/Qt5Menu.cxx index 6aa201f7ad30..9aaea199eeae 100644 --- a/vcl/qt5/Qt5Menu.cxx +++ b/vcl/qt5/Qt5Menu.cxx @@ -277,7 +277,10 @@ void Qt5Menu::CheckItem(unsigned nPos, bool bChecked) Qt5MenuItem* pSalMenuItem = GetItemAtPos(nPos); QAction* pAction = pSalMenuItem->getAction(); if (pAction) + { + pAction->setCheckable(true); pAction->setChecked(bChecked); + } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits