mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 10:03:37 +02:00
Improving error handling.
This commit is contained in:
parent
91aa568832
commit
e15badad18
1 changed files with 4 additions and 1 deletions
|
@ -652,7 +652,10 @@ bool Test::createTestAutoScript(const QString& directory) {
|
|||
// Creates a single script in a user-selected folder.
|
||||
// This script will run all text.js scripts in every applicable sub-folder
|
||||
void Test::createRecursiveScript() {
|
||||
createFileSetup();
|
||||
if (!createFileSetup()) {
|
||||
return;
|
||||
}
|
||||
|
||||
createRecursiveScript(_testDirectory, true);
|
||||
QMessageBox::information(0, "Success", "'testRecursive.js` script has been created");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue