From 1cc2fc5a4cd9522009a2b5cda886ea6c3229a4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Silva?= Date: Sat, 22 Jun 2019 00:36:09 +0100 Subject: [PATCH] Fix presenting window after drag & drop --- uberwriter/text_view_drag_drop_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uberwriter/text_view_drag_drop_handler.py b/uberwriter/text_view_drag_drop_handler.py index 1b6c593..1ef5868 100644 --- a/uberwriter/text_view_drag_drop_handler.py +++ b/uberwriter/text_view_drag_drop_handler.py @@ -58,5 +58,5 @@ class DragDropHandler: text_buffer.insert_at_cursor(data.get_text()) 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