summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2008-09-16 22:05:55 +0000
committertweenk <tweenk@users.sourceforge.net>2008-09-16 22:05:55 +0000
commit0e87fe523c509f3c462bbe2b55dea954fa6499e3 (patch)
tree6e167bac1ff98e9fafc560e26331eb268d0cfbad /src/widgets/toolbox.cpp
parentFix transformation for items rendered as bitmaps (i.e. filters) in (diff)
downloadinkscape-0e87fe523c509f3c462bbe2b55dea954fa6499e3.tar.gz
inkscape-0e87fe523c509f3c462bbe2b55dea954fa6499e3.zip
Fix some bugs introduced by the preferences rewrite.
(bzr r6826)
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 929af817a..c21a32748 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -3927,7 +3927,7 @@ static void update_presets_list (GObject *tbl)
// newly added item is at the same index as the
// save command, so we need to change twice for it to take effect
ege_select_one_action_set_active(sel, 0);
- ege_select_one_action_set_active(sel, i);
+ ege_select_one_action_set_active(sel, i + 1); // one-based index
return;
}
}