Simplify text width settings (#943)
* Remove the fixed text width switch, resolves #924 * Update tests * Clean up code to set text width and add to viewer
This commit is contained in:
committed by
GitHub
parent
6ac9e1aec4
commit
7024254960
@@ -144,11 +144,6 @@ def testDlgPreferences_Main(qtbot, monkeypatch, fncDir, outDir, refDir):
|
||||
tabDocs.textMargin.setValue(45)
|
||||
tabDocs.tabWidth.setValue(45)
|
||||
|
||||
qtbot.wait(keyDelay)
|
||||
assert not tabDocs.textFixedW.isChecked()
|
||||
qtbot.mouseClick(tabDocs.textFixedW, Qt.LeftButton)
|
||||
assert tabDocs.textFixedW.isChecked()
|
||||
|
||||
qtbot.wait(keyDelay)
|
||||
assert not tabDocs.hideFocusFooter.isChecked()
|
||||
qtbot.mouseClick(tabDocs.hideFocusFooter, Qt.LeftButton)
|
||||
|
||||
Reference in New Issue
Block a user