mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
SQLStudio: Stop lying about string types
This commit is contained in:
parent
e4f627f299
commit
3d1fd17f8b
2 changed files with 2 additions and 2 deletions
|
@ -351,7 +351,7 @@ void MainWidget::open_new_script()
|
|||
|
||||
void MainWidget::open_script_from_file(LexicalPath const& file_path)
|
||||
{
|
||||
auto& editor = m_tab_widget->add_tab<ScriptEditor>(String::from_deprecated_string(file_path.title()).release_value_but_fixme_should_propagate_errors());
|
||||
auto& editor = m_tab_widget->add_tab<ScriptEditor>(String::from_utf8(file_path.title()).release_value_but_fixme_should_propagate_errors());
|
||||
|
||||
if (auto result = editor.open_script_from_file(file_path); result.is_error()) {
|
||||
GUI::MessageBox::show_error(window(), DeprecatedString::formatted("Failed to open {}\n{}", file_path, result.error()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue