GTK: fix show/hide hidden files
This commit is contained in:
parent
e160f340ec
commit
d184b82648
@ -70,7 +70,7 @@ setCallbacks mygui myview = do
|
|||||||
mcdir <- liftIO $ getFirstRow myview
|
mcdir <- liftIO $ getFirstRow myview
|
||||||
liftIO $ modifyTVarIO (settings mygui)
|
liftIO $ modifyTVarIO (settings mygui)
|
||||||
(\x -> x { showHidden = not . showHidden $ x})
|
(\x -> x { showHidden = not . showHidden $ x})
|
||||||
>> refreshTreeView' mygui myview mcdir
|
>> (refreshTreeView' mygui myview =<< goUp mcdir)
|
||||||
_ <- treeView mygui `on` keyPressEvent $ tryEvent $ do
|
_ <- treeView mygui `on` keyPressEvent $ tryEvent $ do
|
||||||
[Alt] <- eventModifier
|
[Alt] <- eventModifier
|
||||||
"Up" <- fmap glibToString eventKeyName
|
"Up" <- fmap glibToString eventKeyName
|
||||||
|
Loading…
Reference in New Issue
Block a user