mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
Fix paste error. Call get, not set, when we want to get.
This commit is contained in:
parent
f0ecc0e2eb
commit
c83a3f44dd
@ -2177,7 +2177,7 @@ public:
|
||||
{
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user