1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

HackStudio: Add an 'Auto Save before Build or Run' option

This commit is contained in:
0GreenClover0 2023-11-01 14:47:23 +01:00 committed by Sam Atkins
parent 0e9bdfa822
commit 4c915a9e67
2 changed files with 39 additions and 10 deletions

View file

@ -168,6 +168,7 @@ private:
void update_toolbar_actions();
void on_cursor_change();
void file_renamed(DeprecatedString const& old_name, DeprecatedString const& new_name);
bool save_file_changes();
struct ProjectLocation {
DeprecatedString filename;
@ -195,6 +196,8 @@ private:
size_t m_locations_history_end_index { 0 };
bool m_locations_history_disabled { false };
bool m_auto_save_before_build_or_run { false };
RefPtr<GUI::TreeView> m_project_tree_view;
RefPtr<GUI::ListView> m_open_files_view;
RefPtr<GUI::VerticalSplitter> m_right_hand_splitter;