Skip to content
Merged
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: 6 additions & 0 deletions src/views/lighttable.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ static void _preview_quit(dt_view_t *self)
// restore panels
dt_ui_restore_panels(darktable.gui->ui);

// refresh the layout buttons: exiting full preview via a path that doesn't
// go through the layout button handlers (e.g. closing the main window while
// in preview, which exits preview instead of quitting dt) would otherwise
// leave the full preview icon stuck in its active state.
dt_view_lighttable_update_layout_buttons(darktable.view_manager);

// show/hide filmstrip & timeline when entering the view
if(lib->current_layout == DT_LIGHTTABLE_LAYOUT_CULLING
|| lib->current_layout == DT_LIGHTTABLE_LAYOUT_CULLING_DYNAMIC)
Expand Down
Loading