Reload the preset list after deletion
ValueSet assign Ids to entries when the list is loaded. Ids are not changed after deleting entries. Change-Id: Ia4442992561bf2cd82ff325abef8e34715851e1d Reviewed-on: https://gerrit.libreoffice.org/26986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
This commit is contained in:
committed by
Rishabh Kumar
parent
880e013d7c
commit
c56974019c
@@ -595,7 +595,8 @@ IMPL_LINK_NOARG_TYPED(SvxHatchTabPage, ClickDeleteHdl_Impl, SvxPresetListBox*, v
|
||||
if( aQueryBox->Execute() == RET_YES )
|
||||
{
|
||||
m_pHatchingList->Remove( nPos - 1 );
|
||||
m_pHatchLB->RemoveItem( nPos );
|
||||
m_pHatchLB->Clear();
|
||||
m_pHatchLB->FillPresetListBox( *m_pHatchingList );
|
||||
m_pHatchLB->SelectItem( 1 );
|
||||
|
||||
m_pCtlPreview->Invalidate();
|
||||
|
Reference in New Issue
Block a user