summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-05 15:36:33 +0200
committerhut <hut@lavabit.com>2012-08-05 15:36:33 +0200
commita8c5614b8e3092d307b917654eb085f4b8aa87cf (patch)
tree178710883dde8df8552c0fe46444d64d737eeecf /ranger
parent1ac303c177128e7a0fcf53a92cd0393917f531ec (diff)
downloadranger-a8c5614b8e3092d307b917654eb085f4b8aa87cf.tar.gz
core.tab: pass the tab as argument in the move-signal
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/tab.py4
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