| commit | 1b39bae5debe3bf952449bd7d2910defcea92b9e | [log] |
|---|---|---|
| author | Maxim Monastirsky <momonasmon@gmail.com> | Fri Jun 07 12:06:13 2019 +0300 |
| committer | Maxim Monastirsky <momonasmon@gmail.com> | Thu Jun 13 23:18:34 2019 +0200 |
| tree | 715d354dc48b0395673c0b4fb5458882ba664a7e | |
| parent | 7fb6f10c92d21681e9b0fa722ac9329cf3b8e5a2 [diff] |
tdf#125146 Use correct id for reply command item This was overlooked in commit a10b4fd2bc08651d47bdb19bb8ab9c1f8f3d4851 ("convert annotation menu to .ui"). Change-Id: Ia9e44460394e60f9c2ae767fbb2a07414fa07cf7 Reviewed-on: https://gerrit.libreoffice.org/73971 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
diff --git a/sw/source/uibase/docvw/AnnotationMenuButton.cxx b/sw/source/uibase/docvw/AnnotationMenuButton.cxx index 51a7d80..c8996bd 100644 --- a/sw/source/uibase/docvw/AnnotationMenuButton.cxx +++ b/sw/source/uibase/docvw/AnnotationMenuButton.cxx
@@ -102,7 +102,7 @@ if (mrSidebarWin.IsProtected()) { pButtonPopup->EnableItem(FN_REPLY, false); pButtonPopup->EnableItem(pButtonPopup->GetItemId("reply"), false); } else { @@ -118,11 +118,11 @@ // do not allow to reply to ourself and no answer possible if this note is in a protected section if (sAuthor == mrSidebarWin.GetAuthor()) { pButtonPopup->EnableItem(FN_REPLY, false); pButtonPopup->EnableItem(pButtonPopup->GetItemId("reply"), false); } else { pButtonPopup->EnableItem(FN_REPLY); pButtonPopup->EnableItem(pButtonPopup->GetItemId("reply")); } }