Fix some typos
This commit is contained in:
@@ -507,7 +507,7 @@ class _DetailsWidget(QWidget):
|
||||
|
||||
self._initExpanded = True
|
||||
|
||||
# Tree Vidget
|
||||
# Tree Widget
|
||||
self.listView = QTreeWidget(self)
|
||||
self.listView.setHeaderLabels([self.tr("Setting"), self.tr("Value")])
|
||||
self.listView.setIndentation(SHARED.theme.baseIconSize)
|
||||
|
||||
@@ -125,7 +125,7 @@ class GuiWritingStats(QDialog):
|
||||
pOptions.getInt("GuiWritingStats", "sortOrder", Qt.DescendingOrder),
|
||||
(Qt.AscendingOrder, Qt.DescendingOrder), Qt.DescendingOrder
|
||||
)
|
||||
self.listBox.sortByColumn(sortCol, sortOrder)
|
||||
self.listBox.sortByColumn(sortCol, sortOrder) # type: ignore
|
||||
self.listBox.setSortingEnabled(True)
|
||||
|
||||
# Word Bar
|
||||
|
||||
Reference in New Issue
Block a user