Force the Build button to be default on the build dialog (#2101)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user