fdo#34170 Disable deleting in the native Open Dialog
Change-Id: I0ccd4b06b2db399711004c3e6505a28353604aeb Reviewed-on: https://gerrit.libreoffice.org/6892 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
committed by
Caolán McNamara
parent
154643d59b
commit
4f743082c1
@@ -94,6 +94,7 @@ OCollectionView::OCollectionView( Window * pParent
|
||||
|
||||
m_aView.SetDoubleClickHdl( LINK( this, OCollectionView, Dbl_Click_FileView ) );
|
||||
m_aView.EnableAutoResize();
|
||||
m_aView.EnableDelete(true);
|
||||
m_aUp.SetClickHdl( LINK( this, OCollectionView, Up_Click ) );
|
||||
m_aNewFolder.SetClickHdl( LINK( this, OCollectionView, NewFolder_Click ) );
|
||||
m_aPB_OK.SetClickHdl( LINK( this, OCollectionView, Save_Click ) );
|
||||
|
@@ -644,7 +644,7 @@ ViewTabListBox_Impl::ViewTabListBox_Impl( Window* pParentWin,
|
||||
mnSearchIndex ( 0 ),
|
||||
mbResizeDisabled ( sal_False ),
|
||||
mbAutoResize ( sal_False ),
|
||||
mbEnableDelete ( sal_True ),
|
||||
mbEnableDelete ( sal_False ),
|
||||
mbEnableRename ( sal_True ),
|
||||
mbShowHeader ( (nFlags & FILEVIEW_SHOW_NONE) == 0 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user