SQLStudio: Stop lying about string types

This commit is contained in:
Hendiadyoin1
2023-06-11 19:45:21 +02:00
committed by Jelle Raaijmakers
parent e4f627f299
commit 3d1fd17f8b
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ ErrorOr<bool> ScriptEditor::save_as()
auto parent = static_cast<GUI::TabWidget*>(parent_widget());
if (parent)
parent->set_tab_title(*this, String::from_deprecated_string(lexical_path.title()).release_value_but_fixme_should_propagate_errors());
parent->set_tab_title(*this, String::from_utf8(lexical_path.title()).release_value_but_fixme_should_propagate_errors());
document().set_unmodified();
return true;