app: only grab focus on canvas when exiting the color dialog.
This was introduced in commit d4733e5b21. This was triggering a focus
grab each time we changed the color from within the FG/BG dialog, which
in particular had the focus being lost from said dialog. This is not
really good usability wise (and as a side issue, with some themes, the
focus change was apparently a bit bothering visually).
This commit is contained in:
parent
e6a7cdeae6
commit
0f325fa0d0
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ color_area_dialog_update (GimpColorDialog *dialog,
|
|||
break;
|
||||
}
|
||||
|
||||
if (gimp_context_get_display (context))
|
||||
if (gimp_context_get_display (context) && state != GIMP_COLOR_DIALOG_UPDATE)
|
||||
gimp_display_grab_focus (gimp_context_get_display (context));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue