mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
f5e63f785a
This fixes #8204. In the case that we just navigated up from a directory because it was deleted, we can detect that easily by checking if the child directory exists, and then remove the relevant breadcrumbs immediately. However, it's harder to notice if a child directory for a breadcrumb is deleted at another time. Previously, clicking that breadcrumb would crash, but now we check to see if the directory it points to actually exists. If it doesn't, we pop that breadcrumb and any after it, off of the breadcrumbbar. This may not be the ideal solution - maybe it should detect that the directory is gone automatically - but it works and doesn't involve managing additional directory watchers. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DesktopWidget.cpp | ||
DesktopWidget.h | ||
DirectoryView.cpp | ||
DirectoryView.h | ||
FileManagerWindow.gml | ||
FileOperationProgress.gml | ||
FileOperationProgressWidget.cpp | ||
FileOperationProgressWidget.h | ||
FileUtils.cpp | ||
FileUtils.h | ||
main.cpp | ||
PropertiesWindow.cpp | ||
PropertiesWindow.h |