aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/ui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 14d6f247..e5833839 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -441,6 +441,7 @@ class UI(DisplayableContainer):
resize = True
self.browser = self._viewmode_to_class(value)(self.win)
+ self.redraw_window()
self.add_child(self.browser)
if resize:
self.browser.resize(*old_size)