From 1ae319ef2a9734094766ab5aad5d15c0c73b4239 Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Wed, 28 Nov 2018 17:55:12 -0600 Subject: [PATCH] Fix Quickview for missing table data on some Gtk Versions (#593) Issue #10448 Issue #7867 --- gramps/gui/plug/quick/_quicktable.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gramps/gui/plug/quick/_quicktable.py b/gramps/gui/plug/quick/_quicktable.py index 1f282c184..7270aaee6 100644 --- a/gramps/gui/plug/quick/_quicktable.py +++ b/gramps/gui/plug/quick/_quicktable.py @@ -344,6 +344,7 @@ class QuickTable(SimpleTable): self.simpledoc = document buffer = self.simpledoc.doc.buffer text_view = self.simpledoc.doc.text_view + text_view.set_sensitive(False) model_index = 1 # start after index if self._sort_col: sort_index = self._columns.index(self._sort_col) @@ -428,3 +429,6 @@ class QuickTable(SimpleTable): text_view.show_all() self.simpledoc.paragraph("") self.simpledoc.paragraph("") + while Gtk.events_pending(): + Gtk.main_iteration() + text_view.set_sensitive(True)