mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:17:35 +00:00
LibGUI+Userland: Make TabWidget::*add_tab() take title using new string
This commit is contained in:
parent
5fed25ca9a
commit
797968c310
18 changed files with 59 additions and 59 deletions
|
@ -435,7 +435,7 @@ void MainWidget::build_override_controls()
|
|||
|
||||
ErrorOr<void> MainWidget::add_property_tab(PropertyTab const& property_tab)
|
||||
{
|
||||
auto scrollable_container = TRY(m_property_tabs->try_add_tab<GUI::ScrollableContainerWidget>(property_tab.title));
|
||||
auto scrollable_container = TRY(m_property_tabs->try_add_tab<GUI::ScrollableContainerWidget>(TRY(String::from_deprecated_string(property_tab.title))));
|
||||
scrollable_container->set_should_hide_unnecessary_scrollbars(true);
|
||||
|
||||
auto properties_list = TRY(GUI::Widget::try_create());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue