|
27 | 27 |
|
28 | 28 | from typing import TYPE_CHECKING
|
29 | 29 |
|
30 |
| -from PyQt5.QtGui import QFont, QIcon, QSyntaxHighlighter, QTextCharFormat, QTextDocument |
31 | 30 | from PyQt5.QtCore import QEvent, Qt, pyqtSignal, pyqtSlot
|
| 31 | +from PyQt5.QtGui import QFont, QIcon, QSyntaxHighlighter, QTextCharFormat, QTextDocument |
32 | 32 | from PyQt5.QtWidgets import (
|
33 |
| - QAbstractButton, QAbstractItemView, QDialog, QDialogButtonBox, |
34 |
| - QFontDialog, QFrame, QGridLayout, QHBoxLayout, QHeaderView, QLabel, |
35 |
| - QLineEdit, QMenu, QPlainTextEdit, QPushButton, QSplitter, QStackedWidget, |
36 |
| - QTreeWidget, QTreeWidgetItem, QVBoxLayout, QWidget |
| 33 | + QAbstractButton, QAbstractItemView, QDialog, QDialogButtonBox, QFontDialog, |
| 34 | + QFrame, QGridLayout, QHBoxLayout, QHeaderView, QLabel, QLineEdit, QMenu, |
| 35 | + QPlainTextEdit, QPushButton, QSplitter, QStackedWidget, QTreeWidget, |
| 36 | + QTreeWidgetItem, QVBoxLayout, QWidget |
37 | 37 | )
|
38 | 38 |
|
39 | 39 | from novelwriter import CONFIG, SHARED
|
@@ -1060,8 +1060,6 @@ class _FormatTab(NScrollableForm):
|
1060 | 1060 | def __init__(self, buildMain: GuiBuildSettings, build: BuildSettings) -> None:
|
1061 | 1061 | super().__init__(parent=buildMain)
|
1062 | 1062 |
|
1063 |
| - self.buildMain = buildMain |
1064 |
| - |
1065 | 1063 | self._build = build
|
1066 | 1064 | self._unitScale = 1.0
|
1067 | 1065 |
|
|
0 commit comments