Fix Quickview for missing table data on some Gtk Versions (#593)
Issue #10448 Issue #7867
This commit is contained in:
parent
0340337107
commit
1ae319ef2a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user