summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-05-08 01:14:19 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2017-05-08 01:15:47 +0300
commit7d9e441eb98b4e964c08e41e53714a8607e22f8e (patch)
treeed47f958d45b43323631df583a086bd809666728 /cui
parentdae61482df7ae540a1fb8feefbb92b5e7238444d (diff)
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
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx1
1 files changed, 1 insertions, 0 deletions
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