mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-27 10:07:56 +00:00
Userland: Fix remaining smart pointer const-correctness issues
This commit is contained in:
@@ -50,7 +50,8 @@ void EditorWrapper::set_mode_displayable()
|
||||
{
|
||||
editor().set_mode(GUI::TextEditor::Editable);
|
||||
editor().set_background_role(Gfx::ColorRole::Base);
|
||||
editor().set_palette(GUI::Application::the()->palette());
|
||||
auto palette = GUI::Application::the()->palette();
|
||||
editor().set_palette(palette);
|
||||
}
|
||||
|
||||
void EditorWrapper::set_mode_non_displayable()
|
||||
|
||||
Reference in New Issue
Block a user