From 0e87fe523c509f3c462bbe2b55dea954fa6499e3 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Tue, 16 Sep 2008 22:05:55 +0000 Subject: Fix some bugs introduced by the preferences rewrite. (bzr r6826) --- src/widgets/toolbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/toolbox.cpp') 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; } } -- cgit v1.2.3