small fix
This commit is contained in:
parent
65adc2bdd0
commit
475f63d0f2
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ void MainWindow::redo() {
|
|||
|
||||
// Open current map scripts in system default editor for .inc files
|
||||
void MainWindow::openInTextEditor() {
|
||||
QString path = QDir::cleanPath(editor->project->root + QDir::separator() + "data/maps/" + editor->map->name + "/scripts.inc");
|
||||
QString path = QDir::cleanPath("file://" + editor->project->root + QDir::separator() + "data/maps/" + editor->map->name + "/scripts.inc");
|
||||
QDesktopServices::openUrl(QUrl(path));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue