summaryrefslogtreecommitdiffstats
path: root/src/ui/toolbar
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-07-28 11:59:08 +0000
committerNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-08-06 06:37:44 +0000
commit647a8ee62988aaaec5230be05acd20f5408dcb58 (patch)
tree435dcf1d3ac32ba0514c036bb001ed302b7d94cc /src/ui/toolbar
parentAdd pySerial to macOS app (diff)
downloadinkscape-647a8ee62988aaaec5230be05acd20f5408dcb58.tar.gz
inkscape-647a8ee62988aaaec5230be05acd20f5408dcb58.zip
Fix Arc toolbar buttons (gitlab, inkscape#355)
Diffstat (limited to 'src/ui/toolbar')
-rw-r--r--src/ui/toolbar/arc-toolbar.cpp4
1 files changed, 4 insertions, 0 deletions
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();