Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgauravp94 <gparida94@gmail.com>2014-03-02 08:04:10 (GMT)
committer gauravp94 <gparida94@gmail.com>2014-03-02 08:04:10 (GMT)
commit1df31a59665964ee8c385050f982fce85550e04d (patch)
tree7389e60ae127123ca5c058622d112ac9b27cc76e
parent7b53180d699627c887ae20361e0d40c8e32d895a (diff)
fix the copying error in calculate activityHEADmaster
-rw-r--r--calculate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calculate.py b/calculate.py
index 6b79e90..5288b23 100644
--- a/calculate.py
+++ b/calculate.py
@@ -738,7 +738,7 @@ class Calculate(ShareableActivity):
#_logger.info('text_copy, sel: %r, str: %s', sel, str)
if len(sel) == 2:
(start, end) = sel
- self.clipboard.set_text(str[start:end])
+ self.clipboard.set_text(str[start:end],-1)
def get_clipboard_text(self):
text = self.clipboard.wait_for_text()