Cleanup (#820)
* Update instructions and readmes * Cleanup in base files * Cleanup in core files * Cleanup in gui files * Cleanup in dialog files * Cleanup in tools files * Cleanup in test files
This commit is contained in:
committed by
GitHub
parent
1881b3d32c
commit
6d7ca2bb86
+2
-6
@@ -60,7 +60,7 @@ class GuiDocViewer(QTextBrowser):
|
||||
self.theProject = theParent.theProject
|
||||
|
||||
# Internal Variables
|
||||
self._docHandle = None
|
||||
self._docHandle = None
|
||||
self._qDocument = self.document()
|
||||
|
||||
# Settings
|
||||
@@ -312,9 +312,7 @@ class GuiDocViewer(QTextBrowser):
|
||||
return
|
||||
|
||||
def updateDocMargins(self):
|
||||
"""Automatically adjust the margins so the text is centred if
|
||||
Config.textFixedW is enabled or we're in Focus Mode. Otherwise,
|
||||
just ensure the margins are set correctly.
|
||||
"""Automatically adjust the margins so the text is centred.
|
||||
"""
|
||||
vBar = self.verticalScrollBar()
|
||||
sW = vBar.width() if vBar.isVisible() else 0
|
||||
@@ -1152,7 +1150,6 @@ class GuiDocViewDetails(QScrollArea):
|
||||
self.theParent = theParent
|
||||
self.theProject = theParent.theProject
|
||||
self.theTheme = theParent.theTheme
|
||||
self.currHandle = None
|
||||
|
||||
self.refList = QLabel("")
|
||||
self.refList.setWordWrap(True)
|
||||
@@ -1185,7 +1182,6 @@ class GuiDocViewDetails(QScrollArea):
|
||||
"""Update the current list of document references from the
|
||||
project index.
|
||||
"""
|
||||
self.currHandle = tHandle
|
||||
if self.theParent.docViewer.stickyRef:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user