diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/object/sp-ellipse.h | 4 | ||||
| -rw-r--r-- | src/ui/toolbar/arc-toolbar.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/object/sp-ellipse.h b/src/object/sp-ellipse.h index 31fd5e1b9..5af18194e 100644 --- a/src/object/sp-ellipse.h +++ b/src/object/sp-ellipse.h @@ -33,8 +33,8 @@ enum GenericEllipseType { enum GenericEllipseArcType { SP_GENERIC_ELLIPSE_ARC_TYPE_SLICE, // Default - SP_GENERIC_ELLIPSE_ARC_TYPE_CHORD, - SP_GENERIC_ELLIPSE_ARC_TYPE_ARC + SP_GENERIC_ELLIPSE_ARC_TYPE_ARC, + SP_GENERIC_ELLIPSE_ARC_TYPE_CHORD }; class SPGenericEllipse : public SPShape { diff --git a/src/ui/toolbar/arc-toolbar.cpp b/src/ui/toolbar/arc-toolbar.cpp index d25274474..97645d296 100644 --- a/src/ui/toolbar/arc-toolbar.cpp +++ b/src/ui/toolbar/arc-toolbar.cpp @@ -173,6 +173,10 @@ ArcToolbar::ArcToolbar(SPDesktop *desktop) : chord_btn->set_icon_name(INKSCAPE_ICON("draw-ellipse-chord")); _type_buttons.push_back(chord_btn); + slice_btn->set_group(type_group); + arc_btn->set_group(type_group); + chord_btn->set_group(type_group); + gint type = prefs->getInt("/tools/shapes/arc/arc_type", 0); _type_buttons[type]->set_active(); |
