Skip to content

Commit

Permalink
Dont reload the view when text is copied (Issue #706)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Schwinn committed Feb 13, 2022
1 parent 5962492 commit d0db6d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion thunar/thunar-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,11 @@ thunar_window_clipboard_manager_changed (GtkWidget *widget)
{
ThunarWindow *window = THUNAR_WINDOW (widget);

thunar_window_reload (window, FALSE);
/* check if the content actually can be pasted into thunar,
* in order to do not trigger if just some text is copied.
*/
if (thunar_clipboard_manager_get_can_paste (window->clipboard))
thunar_window_reload (window, FALSE);
}


Expand Down

0 comments on commit d0db6d8

Please sign in to comment.