Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't force-refresh center view on side panel refresh #18179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/gui/gtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -2395,7 +2395,11 @@ static gboolean _side_panel_draw(GtkWidget *widget,
cairo_t *cr,
gpointer user_data)
{
if(darktable.gui->ui->thumbtable->manual_button.x != -1)
// in lighttable view, if there are no thumbs displayed in the center view, we have lines to
// modules which need to be updated as we expand and collapse modules in the side panels
if(darktable.collection
&& dt_view_get_current() == DT_VIEW_LIGHTTABLE
&& dt_collection_get_count(darktable.collection) == 0)
gtk_widget_queue_draw(darktable.gui->ui->center);
return FALSE;
}
Expand Down
Loading