diff options
author | hut <hut@lavabit.com> | 2012-08-05 15:36:33 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-08-05 15:36:33 +0200 |
commit | a8c5614b8e3092d307b917654eb085f4b8aa87cf (patch) | |
tree | 178710883dde8df8552c0fe46444d64d737eeecf | |
parent | 1ac303c177128e7a0fcf53a92cd0393917f531ec (diff) | |
download | ranger-a8c5614b8e3092d307b917654eb085f4b8aa87cf.tar.gz |
core.tab: pass the tab as argument in the move-signal
-rw-r--r-- | ranger/core/tab.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/core/tab.py b/ranger/core/tab.py index 86be1241..bf837df3 100644 --- a/ranger/core/tab.py +++ b/ranger/core/tab.py @@ -20,13 +20,13 @@ class Tab(FileManagerAware, SettingsAware): weak=True) def _set_thisfile_from_signal(self, signal): - if self == self.fm.thistab: + if self == signal.tab: self._thisfile = signal.new def _set_thisfile(self, value): if value is not self._thisfile: previous = self._thisfile - self.fm.signal_emit('move', previous=previous, new=value) + self.fm.signal_emit('move', previous=previous, new=value, tab=self) def _get_thisfile(self): return self._thisfile |