diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-04-15 15:56:42 +0000 |
|---|---|---|
| committer | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-04-15 21:35:41 +0000 |
| commit | 2bfff771506abafd54060c63e5bbc8ce4fe67af0 (patch) | |
| tree | 3abf80820e9742064120ba119d6d9160e7e39c6a /src/ui/toolbar | |
| parent | Prevent buffer overflow in svg transformation reading; lp:1047524 (diff) | |
| download | inkscape-2bfff771506abafd54060c63e5bbc8ce4fe67af0.tar.gz inkscape-2bfff771506abafd54060c63e5bbc8ce4fe67af0.zip | |
Restore select toolbar lock button
Connection to other code (e.g. drag selection,
pasting width) restored (dropped in GtkAction
migration).
Fixes https://gitlab.com/inkscape/inkscape/issues/161
Fixes https://gitlab.com/inkscape/inkscape/issues/173
Diffstat (limited to 'src/ui/toolbar')
| -rw-r--r-- | src/ui/toolbar/select-toolbar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/toolbar/select-toolbar.cpp b/src/ui/toolbar/select-toolbar.cpp index ed0634d94..e405b914f 100644 --- a/src/ui/toolbar/select-toolbar.cpp +++ b/src/ui/toolbar/select-toolbar.cpp @@ -153,6 +153,7 @@ SelectToolbar::SelectToolbar(SPDesktop *desktop) : _lock_btn->set_tooltip_text(_("When locked, change both width and height by the same proportion")); _lock_btn->set_icon_name(INKSCAPE_ICON("object-unlocked")); _lock_btn->signal_toggled().connect(sigc::mem_fun(*this, &SelectToolbar::toggle_lock)); + set_data("lock", _lock_btn->gobj()); add(*_lock_btn); // height-value control |
