mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
LibGUI+Userland: Port TabWidget set_tab_title to new string
This commit is contained in:
committed by
Andreas Kling
parent
4f08a05a3b
commit
66402b0666
@@ -72,7 +72,7 @@ ErrorOr<bool> ScriptEditor::save_as()
|
||||
|
||||
auto parent = static_cast<GUI::TabWidget*>(parent_widget());
|
||||
if (parent)
|
||||
parent->set_tab_title(*this, lexical_path.title());
|
||||
parent->set_tab_title(*this, String::from_deprecated_string(lexical_path.title()).release_value_but_fixme_should_propagate_errors());
|
||||
|
||||
document().set_unmodified();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user