mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
HackStudio: Move handle_external_file_deletion logic into own method
Added a close_file_in_all_editors method to HackStudioWidget and moved the code from handle_external_file_deletion into it so that it can be reused elsewhere to close files.
This commit is contained in:
parent
219206725b
commit
d48bd49002
2 changed files with 29 additions and 23 deletions
|
@ -35,6 +35,7 @@ class HackStudioWidget : public GUI::Widget {
|
|||
public:
|
||||
virtual ~HackStudioWidget() override;
|
||||
bool open_file(const String& filename);
|
||||
void close_file_in_all_editors(String const& filename);
|
||||
|
||||
void update_actions();
|
||||
Project& project();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue