diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2013-12-02 08:58:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-02 05:03:01 -0600 |
commit | 4f743082c10c735db0e92fbe2921e95c5bd02c4a (patch) | |
tree | 05e5276b50d581ca565561fe2fc3277742691e2a /dbaccess/source | |
parent | 154643d59b6e01606356b7d2e627cbe4e20302e7 (diff) |
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>
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/dlg/CollectionView.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx index 09f4f1680fa1..d43c93ab473b 100644 --- a/dbaccess/source/ui/dlg/CollectionView.cxx +++ b/dbaccess/source/ui/dlg/CollectionView.cxx @@ -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 ) ); |