Commit 4d55dd33 authored by Martin Nordholts's avatar Martin Nordholts

Bug 563337 – Rectangle Select Tool does not allow 1:1 fixed ratio

* libgimpwidgets/gimpnumberpairentry.c: When testing if the value
changed on focus-out we shall test against the current values, not
the default values.

svn path=/trunk/; revision=27914
parent d9b5207a
2009-01-18 Martin Nordholts <martinn@svn.gnome.org>
Bug 563337 Rectangle Select Tool does not allow 1:1 fixed ratio
* libgimpwidgets/gimpnumberpairentry.c: When testing if the value
changed on focus-out we shall test against the current values, not
the default values.
2009-01-17 Michael Natterer <mitch@gimp.org>
* all files with a GPL header and all COPYING files:
......
......@@ -851,15 +851,8 @@ gimp_number_pair_entry_events (GtkWidget *widget,
{
case PARSE_VALID:
{
gdouble default_left_value;
gdouble default_right_value;
gimp_number_pair_entry_get_default_values (entry,
&default_left_value,
&default_right_value);
if (default_left_value != left_value ||
default_right_value != right_value ||
if (priv->left_number != left_value ||
priv->right_number != right_value ||
force_user_override)
{
gimp_number_pair_entry_set_values (entry,
......
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