[haiku-3rdparty-dev] Re: Hidden fFilePanel->Show() fails when previous location is gone
- From: Julian Harnath <julian.harnath@xxxxxxxxxxxxxx>
- To: <haiku-3rdparty-dev@xxxxxxxxxxxxx>
- Date: Sun, 29 Oct 2017 16:54:53 +0100
On 29.10.2017 16:39, Julian Harnath wrote:
One way to fix it would be to check in the BPoseView handler of
B_DEVICE_UNMOUNTED whether BWindow::IsFilePanel() is true, and if so,
reset it to the user home directory instead of closing and deleting it.
Just saw, an ever better way would be to do this in the overriden
BFilePanelPoseView::FSNotification().
Julian
Other related posts: