mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
HackStudio: Remove redundant insertion to m_open_files
previous_open_project_file already exists in m_open_files under the active_file() key.
This commit is contained in:
parent
25a5e59f79
commit
77d462426b
1 changed files with 0 additions and 1 deletions
|
@ -223,7 +223,6 @@ bool HackStudioWidget::open_file(const String& full_filename)
|
|||
// Update the scrollbar values of the previous_open_project_file and save them to m_open_files.
|
||||
previous_open_project_file->vertical_scroll_value(current_editor().vertical_scrollbar().value());
|
||||
previous_open_project_file->horizontal_scroll_value(current_editor().horizontal_scrollbar().value());
|
||||
m_open_files.set(active_file(), previous_open_project_file);
|
||||
}
|
||||
|
||||
RefPtr<ProjectFile> new_project_file = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue