mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 08:06:09 +00:00
HackStudio: Hide autocomplete popup when switching tabs
This commit is contained in:
committed by
Sam Atkins
parent
d4367f42ba
commit
95df712c2e
@@ -1178,6 +1178,9 @@ void HackStudioWidget::set_current_editor_tab_widget(RefPtr<GUI::TabWidget> tab_
|
||||
|
||||
void HackStudioWidget::set_current_editor_wrapper(RefPtr<EditorWrapper> editor_wrapper)
|
||||
{
|
||||
if (m_current_editor_wrapper)
|
||||
m_current_editor_wrapper->editor().hide_autocomplete();
|
||||
|
||||
m_current_editor_wrapper = editor_wrapper;
|
||||
update_window_title();
|
||||
update_current_editor_title();
|
||||
|
||||
Reference in New Issue
Block a user