mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
HackStudio: Hide autocomplete popup when switching tabs
This commit is contained in:
parent
d4367f42ba
commit
95df712c2e
2 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue