summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <[email protected]>2015-06-22 00:16:38 +0200
committerRalf Habacker <[email protected]>2015-06-22 07:35:59 +0200
commit0b7dc1040a1a1bbaec9795a221ed5fd7f29fadb9 (patch)
tree2d584e4315f132e561f7310ba209bb1889a579bc
parent61083fe3fd4a178684193cc45238f316ba9a08fb (diff)
Only apply UIState related settings displayed in the style page to the scene.v15.04.3
-rw-r--r--umbrello/dialogs/pages/umlwidgetstylepage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/dialogs/pages/umlwidgetstylepage.cpp b/umbrello/dialogs/pages/umlwidgetstylepage.cpp
index 95f3b5c..6512066 100644
--- a/umbrello/dialogs/pages/umlwidgetstylepage.cpp
+++ b/umbrello/dialogs/pages/umlwidgetstylepage.cpp
@@ -263,7 +263,7 @@ void UMLWidgetStylePage::apply()
m_options->uiState.lineWidth = m_lineWidthB->value();
}
else if (m_scene) {
- Settings::OptionState state;
+ Settings::OptionState state = m_scene->optionState();
state.uiState.useFillColor = m_pUseFillColorCB->isChecked();
state.uiState.textColor = m_pTextColorB->color();
state.uiState.lineColor = m_pLineColorB->color();