From a4c6fd9ff7c2f9d14dfcbb36af3e4448afde2fcc Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 10 Jan 2022 12:11:05 -0600 Subject: [PATCH] Replace QTextEdit.setTabStopWidth with setTabStopDistance --- calibre-plugin/common_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)