Переглянути джерело

HackStudio: Call update_gml_preview() to reset when opening new project

Lennon Donaghy 4 роки тому
батько
коміт
3ce96134b5
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      Userland/DevTools/HackStudio/HackStudioWidget.cpp

+ 1 - 0
Userland/DevTools/HackStudio/HackStudioWidget.cpp

@@ -203,6 +203,7 @@ void HackStudioWidget::open_project(const String& root_path)
         m_todo_entries_widget->clear();
         m_todo_entries_widget->clear();
         m_terminal_wrapper->clear_including_history();
         m_terminal_wrapper->clear_including_history();
         stop_debugger_if_running();
         stop_debugger_if_running();
+        update_gml_preview();
     }
     }
     m_project = Project::open_with_root_path(root_path);
     m_project = Project::open_with_root_path(root_path);
     VERIFY(m_project);
     VERIFY(m_project);