diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index c9b9c65be2a9..2eb92b3c397d 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -1243,6 +1243,7 @@ VclPtr SwContentTree::CreateContextMenu() SwContentType* pType = static_cast(pEntry->GetUserData()); if ( (pType->GetType() == ContentTypeId::POSTIT) && (!m_pActiveShell->GetView().GetDocShell()->IsReadOnly()) && ( pType->GetMemberCount() > 0) ) { + bSubPop4 = true; pSubPop4->InsertItem(600, m_sPostItShow ); pSubPop4->InsertItem(601, m_sPostItHide ); pSubPop4->InsertItem(602, m_sPostItDelete );