Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update folder colors when moving or renaming #81380

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented Sep 6, 2023

Ensures that moved and renamed folders transfer their color, and clears the color for removed entries

Currently this does not update anything on moving, renaming, or deleting folders from the OS file manager, could add further logic to handle this but keeping it simple here for these specific cases

This also does not copy the color on duplication, which I think isn't expected, if someone wants that please ask and I can open a dedicated PR for it

@AThousandShips AThousandShips added this to the 4.x milestone Sep 6, 2023
@AThousandShips AThousandShips requested a review from a team as a code owner September 6, 2023 13:54
@AThousandShips AThousandShips force-pushed the folder_color_add branch 2 times, most recently from 4560edd to b442ebe Compare September 7, 2023 09:18
editor/filesystem_dock.cpp Outdated Show resolved Hide resolved
editor/filesystem_dock.cpp Outdated Show resolved Hide resolved
editor/filesystem_dock.cpp Outdated Show resolved Hide resolved
editor/filesystem_dock.cpp Outdated Show resolved Hide resolved
editor/filesystem_dock.cpp Outdated Show resolved Hide resolved
@YuriSizov YuriSizov modified the milestones: 4.x, 4.2 Sep 8, 2023
@akien-mga akien-mga merged commit 6c1241d into godotengine:master Sep 8, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@AThousandShips
Copy link
Member Author

Thank you!

@AThousandShips AThousandShips deleted the folder_color_add branch September 9, 2023 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Folder color resets if folder is renamed or moved
4 participants