diff options
Diffstat (limited to 'svx/source/sidebar/line/LinePropertyPanel.cxx')
-rw-r--r-- | svx/source/sidebar/line/LinePropertyPanel.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx index 915d48b648d2..130220560c9b 100644 --- a/svx/source/sidebar/line/LinePropertyPanel.cxx +++ b/svx/source/sidebar/line/LinePropertyPanel.cxx @@ -577,10 +577,12 @@ void LinePropertyPanel::NotifyItemUpdate( if(bDisabled) { mpLBEdgeStyle->Disable(); + mpFTEdgeStyle->Disable(); } else { mpLBEdgeStyle->Enable(); + mpFTEdgeStyle->Enable(); } if(eState >= SFX_ITEM_DEFAULT) @@ -635,10 +637,12 @@ void LinePropertyPanel::NotifyItemUpdate( if(bDisabled) { mpLBCapStyle->Disable(); + mpFTCapStyle->Disable(); } else { mpLBCapStyle->Enable(); + mpLBCapStyle->Enable(); } if(eState >= SFX_ITEM_DEFAULT) @@ -1052,6 +1056,7 @@ void LinePropertyPanel::SelectLineStyle() if( !mpStyleItem.get() || !mpDashItem.get() ) { mpLBStyle->SetNoSelection(); + mpLBStyle->Disable(); return; } @@ -1097,6 +1102,7 @@ void LinePropertyPanel::SelectEndStyle(bool bStart) if( !mpStartItem.get() ) { mpLBStart->SetNoSelection(); + mpLBStart->Disable(); return; } @@ -1125,6 +1131,7 @@ void LinePropertyPanel::SelectEndStyle(bool bStart) if( !mpEndItem.get() ) { mpLBEnd->SetNoSelection(); + mpLBEnd->Disable(); return; } |