mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 14:46:40 +02:00
Fixed a couple of bugs.
This commit is contained in:
parent
0ff8060791
commit
2a1e3e93a5
2 changed files with 4 additions and 4 deletions
|
@ -489,7 +489,7 @@ bool Test::createAllFilesSetup() {
|
|||
parent += "/";
|
||||
}
|
||||
|
||||
_testsRootDirectory = QFileDialog::getExistingDirectory(nullptr, "Please select the root folder for the MD files", parent,
|
||||
_testsRootDirectory = QFileDialog::getExistingDirectory(nullptr, "Please select the tests root folder", parent,
|
||||
QFileDialog::ShowDirsOnly);
|
||||
|
||||
// If user cancelled then restore previous selection and return
|
||||
|
@ -569,8 +569,8 @@ bool Test::createMDFile(const QString& directory) {
|
|||
QString testName = testScriptLines.title;
|
||||
stream << "# " << testName << "\n";
|
||||
|
||||
// Find the relevant part of the path to the test (i.e. from "tests" down
|
||||
QString partialPath = extractPathFromTestsDown(_testDirectory);
|
||||
// Find the relevant part of the path to the test (i.e. from "tests" down)
|
||||
QString partialPath = extractPathFromTestsDown(_testsRootDirectory);
|
||||
|
||||
stream << "## Run this script URL: [Manual](./test.js?raw=true) [Auto](./testAuto.js?raw=true)(from menu/Edit/Open and Run scripts from URL...)." << "\n\n";
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ void AutoTester::startTestsEvaluation(const bool isRunningFromCommandLine,
|
|||
}
|
||||
|
||||
void AutoTester::on_tabWidget_currentChanged(int index) {
|
||||
if (index == 1 || index == 2) {
|
||||
if (index == 2 || index == 3) {
|
||||
_ui.userTextEdit->setDisabled(false);
|
||||
_ui.branchTextEdit->setDisabled(false);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue