[Libreoffice-commits] core.git: cui/source

Maxim Monastirsky momonasmon at gmail.com
Sun May 7 22:18:17 UTC 2017


 cui/source/customize/cfg.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7d9e441eb98b4e964c08e41e53714a8607e22f8e
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Mon May 8 01:14:19 2017 +0300

    Set modified flag on entry rename
    
    Tools > Customize... > Context Menus. Rename some
    entry, click OK. Open the dialog again, notice that
    the label modification wasn't saved.
    
    Change-Id: I78a7093e958d9d8709192ac34b6e0f178b7956de

diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 438c13e7b630..046b244b2106 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -2653,6 +2653,7 @@ IMPL_LINK( SvxMenuConfigPage, EntrySelectHdl, MenuButton *, pButton, void )
             m_pContentsListBox->SetEntryText( pActEntry, aNewName );
 
             GetSaveInData()->SetModified();
+            GetTopLevelSelection()->SetModified();
         }
     }
     else


More information about the Libreoffice-commits mailing list