Kaydet (Commit) 8d783183 authored tarafından Katarina Behrens's avatar Katarina Behrens

Clear menubar before opening a new app

Change-Id: Icab19e31f7aa737351460790d2028114b24284ad
üst a2e37236
......@@ -91,6 +91,9 @@ void Qt5Menu::Update()
{
Menu* pVCLMenu = mpVCLMenu;
if ( mbMenuBar && mpQMenuBar )
mpQMenuBar->clear();
for ( sal_Int32 nItem = 0; nItem < static_cast<sal_Int32>(GetItemCount()); nItem++ )
{
Qt5MenuItem *pSalMenuItem = GetItemAtPos( nItem );
......
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