forked from Mirrors/apostrophe
Fix presenting window after drag & drop
parent
adcb73b129
commit
1cc2fc5a4c
|
@ -58,5 +58,5 @@ class DragDropHandler:
|
||||||
text_buffer.insert_at_cursor(data.get_text())
|
text_buffer.insert_at_cursor(data.get_text())
|
||||||
|
|
||||||
Gtk.drag_finish(drag_context, True, True, time)
|
Gtk.drag_finish(drag_context, True, True, time)
|
||||||
text_view.get_window().present_with_time(time)
|
text_view.get_toplevel().present_with_time(time)
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue