Force the Build button to be default on the build dialog (#2101)

This commit is contained in:
Veronica Berglyd Olsen
2024-11-15 20:49:45 +01:00
parent 97312aecf5
commit 021827ff2d
2 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -95,7 +95,7 @@ def testToolManuscriptBuild_Main(
assert (fncPath / "TestBuild").with_suffix(nwLabels.BUILD_EXT[fmt]).exists()
lastFmt = fmt
manus._dialogButtonClicked(manus.dlgButtons.button(QtDialogClose))
manus._dialogButtonClicked(manus.buttonBox.button(QtDialogClose))
manus.deleteLater()
assert build.lastBuildName == "TestBuild"
@@ -150,5 +150,5 @@ def testToolManuscriptBuild_Main(
assert lastUrl.startswith("file://")
# Finish
manus._dialogButtonClicked(manus.dlgButtons.button(QtDialogClose))
manus._dialogButtonClicked(manus.buttonBox.button(QtDialogClose))
# qtbot.stop()