summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-08-12 12:34:42 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-08-14 08:45:51 +0200
commita62dec01fccf1b957b2a5bf4c8abb3791d8e8b79 (patch)
treeafde9671289dab29cc3370a9089dc4e04e80f235 /svtools
parent87cf343f909bd3034239eb10d1eb88a10994ab15 (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.cxx2
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 );