diff options
author | hut <hut@lepus.uberspace.de> | 2016-07-04 19:52:04 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-07-04 19:52:04 +0200 |
commit | b4e26110e2ef15404430a09b4e2ec9eb9959ce21 (patch) | |
tree | f51302dfea0759ca39956ea5627919d9257e1b32 | |
parent | a9a75dde4cb02d63c1cf07884413e4d4d0b7aa32 (diff) | |
download | ranger-b4e26110e2ef15404430a09b4e2ec9eb9959ce21.tar.gz |
widgets.view_miller: fix `set column_ratios ...`
the view was rebuilt *before* the setting was changed, not *after*
-rw-r--r-- | ranger/gui/widgets/view_miller.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/gui/widgets/view_miller.py b/ranger/gui/widgets/view_miller.py index 732c6170..a302c9d5 100644 --- a/ranger/gui/widgets/view_miller.py +++ b/ranger/gui/widgets/view_miller.py @@ -35,7 +35,8 @@ class ViewMiller(ViewBase): self._request_clear_if_has_borders, weak=True) self.settings.signal_bind('setopt.column_ratios', self.request_clear) - self.settings.signal_bind('setopt.column_ratios', self.rebuild) + self.settings.signal_bind('setopt.column_ratios', self.rebuild, + priority=0.1) # make sure it occurs *after* setting is updated self.old_draw_borders = self.settings.draw_borders |