diff --git a/calibre-plugin/common_utils.py b/calibre-plugin/common_utils.py index c4e702ea..e3415f6f 100644 --- a/calibre-plugin/common_utils.py +++ b/calibre-plugin/common_utils.py @@ -506,7 +506,7 @@ class PrefsViewerDialog(SizePersistedDialog): self.keys_list.setAlternatingRowColors(True) ml.addWidget(self.keys_list) self.value_text = QTextEdit(self) - self.value_text.setTabStopWidth(24) + self.value_text.setTabStopDistance(24) self.value_text.setReadOnly(True) ml.addWidget(self.value_text, 1)