mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
LaunchServer: Fix regression in opening files with TextEditor
My previous PR had a small error in rebasing and removed a line in open_file_url. This caused opening text files from the terminal to always open with an empty TextEditor. This commit fixes that problem!
This commit is contained in:
parent
08510a0c80
commit
7181943d8d
1 changed files with 3 additions and 0 deletions
|
@ -331,6 +331,9 @@ bool Launcher::open_file_url(const URL& url)
|
||||||
filepath = String::formatted("{}:{}", filepath, line.value());
|
filepath = String::formatted("{}:{}", filepath, line.value());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
additional_parameters.append(filepath);
|
||||||
|
|
||||||
return open_with_user_preferences(m_file_handlers, extension, additional_parameters, default_handler);
|
return open_with_user_preferences(m_file_handlers, extension, additional_parameters, default_handler);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue