diff options
Diffstat (limited to 'ranger/gui/widgets/view_miller.py')
-rw-r--r-- | ranger/gui/widgets/view_miller.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/gui/widgets/view_miller.py b/ranger/gui/widgets/view_miller.py index 1f08e1af..e138ee4b 100644 --- a/ranger/gui/widgets/view_miller.py +++ b/ranger/gui/widgets/view_miller.py @@ -26,10 +26,6 @@ class ViewMiller(ViewBase): # pylint: disable=too-many-ancestors,too-many-insta self.preview = True self.columns = [] - self.pager = Pager(self.win, embedded=True) - self.pager.visible = False - self.add_child(self.pager) - self.rebuild() for option in ('preview_directories', 'preview_files'): @@ -48,6 +44,10 @@ class ViewMiller(ViewBase): # pylint: disable=too-many-ancestors,too-many-insta self.remove_child(child) child.destroy() + self.pager = Pager(self.win, embedded=True) + self.pager.visible = False + self.add_child(self.pager) + ratios = self.settings.column_ratios for column in self.columns: |