mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 16:03:36 +02:00
Fix extra spacing between rows in word list of spell check dialog
This commit is contained in:
parent
7281b0a316
commit
11814e2518
1 changed files with 3 additions and 0 deletions
|
|
@ -994,6 +994,9 @@ def work_done(self, words, spell_map):
|
|||
self.highlight_row(0)
|
||||
self.update_summary()
|
||||
self.initialize_user_dictionaries()
|
||||
if self.words_model.rowCount() > 0:
|
||||
self.words_view.resizeRowToContents(0)
|
||||
self.words_view.verticalHeader().setDefaultSectionSize(self.words_view.rowHeight(0))
|
||||
|
||||
def update_summary(self):
|
||||
self.summary.setText(_('Misspelled words: {0} Total words: {1}').format(*self.words_model.counts))
|
||||
|
|
|
|||
Loading…
Reference in a new issue