GTK: fix opening symlinks that point to directories

This commit is contained in:
Julian Ospald 2016-05-02 22:13:33 +02:00
parent 5670b160d8
commit 526db2cbb7
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -314,7 +314,9 @@ refreshView' :: MyGUI
-> MyView -> MyView
-> Item -> Item
-> IO () -> IO ()
refreshView' mygui myview item@(DirOrSym _) = do refreshView' mygui myview SymLink { sdest = d@Dir{} } =
refreshView' mygui myview d
refreshView' mygui myview item@Dir{} = do
newRawModel <- fileListStore item myview newRawModel <- fileListStore item myview
writeTVarIO (rawModel myview) newRawModel writeTVarIO (rawModel myview) newRawModel