about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-11-10 17:08:41 +0100
committerhut <hut@lavabit.com>2012-11-10 17:08:41 +0100
commit172591f762e9b7f67f7e8e3649a9a6c1066528a3 (patch)
tree8ac4704d08a52e0dcc1f2de4f64becfe7f61139c
parentb34807bd428bbe7bb40e8798af17f0f4cf5ecf1f (diff)
downloadranger-172591f762e9b7f67f7e8e3649a9a6c1066528a3.tar.gz
widgets.browsercolumn: check if file was copied or cut when drawing
-rw-r--r--ranger/gui/widgets/browsercolumn.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 981dd8fb..ff61e76a 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -229,7 +229,8 @@ class BrowserColumn(Pager):
 				tagged_marker = " "
 
 			key = (self.wid, selected_i == i, drawn.marked, self.main_column,
-					drawn.path in copied, tagged_marker, drawn.infostring)
+					drawn.path in copied, tagged_marker, drawn.infostring,
+					self.fm.do_cut)
 
 			if key in drawn.display_data:
 				self.execute_curses_batch(line, drawn.display_data[key])