diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-08-12 12:34:42 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-08-14 08:45:51 +0200 |
commit | a62dec01fccf1b957b2a5bf4c8abb3791d8e8b79 (patch) | |
tree | afde9671289dab29cc3370a9089dc4e04e80f235 /svtools | |
parent | 87cf343f909bd3034239eb10d1eb88a10994ab15 (diff) |
don't enable password control, when whole frame is inactive
Change-Id: I165f08a3709b1d32ddab4632342d21b43d3f8ff1
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/PlaceEditDialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx index fd42cf7a8fe7..f45a23804a7d 100644 --- a/svtools/source/dialogs/PlaceEditDialog.cxx +++ b/svtools/source/dialogs/PlaceEditDialog.cxx @@ -158,7 +158,7 @@ void PlaceEditDialog::ShowPasswordControl( bool bShow ) IMPL_LINK( PlaceEditDialog, ToggledPassHdl, CheckBox*, pCheckBox ) { - bool bChecked = pCheckBox->IsChecked(); + bool bChecked = pCheckBox->IsEnabled() && pCheckBox->IsChecked(); m_pEDPassword->Enable( bChecked ); m_pFTPasswordLabel->Enable( bChecked ); |