diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-06-03 08:51:07 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-07-16 09:52:43 +0200 |
commit | 5c117650072b0cd53d3a2233812fa0961bba1327 (patch) | |
tree | a2c866d4e3b9a1333d65aa11eaa7f40af64daf34 /svtools/source | |
parent | 4f354a2e1fcbfa960b848f94f4b5dc652e451a6c (diff) |
hide the type listbox while editing
Change-Id: I41264f37208e19e862c2f78930deaf5c8b68d840
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/dialogs/PlaceEditDialog.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx index d23fe0e32bb5..1028a560e598 100644 --- a/svtools/source/dialogs/PlaceEditDialog.cxx +++ b/svtools/source/dialogs/PlaceEditDialog.cxx @@ -53,6 +53,7 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Pla get( m_pBTOk, "ok" ); get( m_pBTCancel, "cancel" ); get( m_pBTDelete, "delete" ); + get( m_pTypeGrid, "TypeGrid" ); m_pBTOk->SetClickHdl( LINK( this, PlaceEditDialog, OKHdl) ); m_pBTDelete->SetClickHdl ( LINK( this, PlaceEditDialog, DelHdl) ); @@ -80,6 +81,9 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Pla m_pEDUsername->SetText( rUrl.GetUser( ) ); } } + + // In edit mode user can't change connection type + m_pTypeGrid->Hide(); } PlaceEditDialog::~PlaceEditDialog() |