Commit 3543e990 authored by David Neary's avatar David Neary
Browse files

Ensure that option widgets are set to defaults on first call to the



* app/tools/tool_options.c: Ensure that option widgets are set to
defaults on first call to the _init() function.
parent a14b5874
......@@ -309,7 +309,9 @@ transform_options_init (TransformOptions *options,
gtk_box_pack_start (GTK_BOX (options->tool_options.main_vbox),
options->clip_w, FALSE, FALSE, 0);
gtk_widget_show (options->clip_w);
/* Set options to default values */
transform_options_reset((ToolOptions *) options);
}
TransformOptions *
......
......@@ -309,7 +309,9 @@ transform_options_init (TransformOptions *options,
gtk_box_pack_start (GTK_BOX (options->tool_options.main_vbox),
options->clip_w, FALSE, FALSE, 0);
gtk_widget_show (options->clip_w);
/* Set options to default values */
transform_options_reset((ToolOptions *) options);
}
TransformOptions *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment