Skip to content

Commit

Permalink
ensure that deprecation message is hidden
Browse files Browse the repository at this point in the history
On initially entering darkroom view, the deprecation warning message
is displayed on whichever tab is active in the right side panel even
if that tab is not the deprecated-modules tab.  Switching to any other
tab (and optionally back) hides the warning.

This commit ensures that the message is also hidden initially.
  • Loading branch information
ralfbrown authored and TurboGit committed Feb 9, 2025
1 parent f26de97 commit 8da3edb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/modulegroups.c
Original file line number Diff line number Diff line change
Expand Up @@ -2927,6 +2927,7 @@ void gui_init(dt_lib_module_t *self)
d->current = dt_conf_get_int("plugins/darkroom/groups");
if(d->current == DT_MODULEGROUP_NONE) _lib_modulegroups_update_iop_visibility(self);
gtk_widget_show_all(self->widget);
gtk_widget_set_no_show_all(d->deprecated, TRUE);
gtk_widget_set_no_show_all(d->hbox_buttons, TRUE);
gtk_widget_set_no_show_all(d->hbox_search_box, TRUE);

Expand Down

0 comments on commit 8da3edb

Please sign in to comment.