Skip to content

Commit

Permalink
Fix paste error. Call get, not set, when we want to get.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Aug 5, 2021
1 parent f0ecc0e commit c83a3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnucash/gnome-utils/dialog-options.cpp
Expand Up @@ -2177,7 +2177,7 @@ class GncGtkColorUIItem : public GncOptionGtkUIItem
{
GdkRGBA color;
auto color_button = GTK_COLOR_CHOOSER(get_widget());
gtk_color_chooser_set_rgba(color_button, &color);
gtk_color_chooser_get_rgba(color_button, &color);
auto rgba_str = gdk_rgba_to_string(&color);
option.set_value(std::string{rgba_str});
g_free(rgba_str);
Expand Down

0 comments on commit c83a3f4

Please sign in to comment.