diff --git a/src/GUI/Gtk/Callbacks.hs b/src/GUI/Gtk/Callbacks.hs index cce2841..f0b995a 100644 --- a/src/GUI/Gtk/Callbacks.hs +++ b/src/GUI/Gtk/Callbacks.hs @@ -70,7 +70,7 @@ setCallbacks mygui myview = do mcdir <- liftIO $ getFirstRow myview liftIO $ modifyTVarIO (settings mygui) (\x -> x { showHidden = not . showHidden $ x}) - >> refreshTreeView' mygui myview mcdir + >> (refreshTreeView' mygui myview =<< goUp mcdir) _ <- treeView mygui `on` keyPressEvent $ tryEvent $ do [Alt] <- eventModifier "Up" <- fmap glibToString eventKeyName