summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Smith <bruce@nanorex.com>2009-01-21 21:53:26 +0000
committerBruce Smith <bruce@nanorex.com>2009-01-21 21:53:26 +0000
commite5ec516114f0ac0a23ad1baad35602243eea3845 (patch)
treecb68c420140bb2ec55bfe9c713c829c1d418d78a
parent9d5a6c137dd89949cedbd88dbfc46ce5264e661f (diff)
downloadnanoengineer-theirix-e5ec516114f0ac0a23ad1baad35602243eea3845.tar.gz
nanoengineer-theirix-e5ec516114f0ac0a23ad1baad35602243eea3845.zip
fix trivial bug in call of setCursorPosition
-rw-r--r--cad/src/dna/DnaSequenceEditor/DnaSequenceEditor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cad/src/dna/DnaSequenceEditor/DnaSequenceEditor.py b/cad/src/dna/DnaSequenceEditor/DnaSequenceEditor.py
index 08bef9eee..7bbeee738 100644
--- a/cad/src/dna/DnaSequenceEditor/DnaSequenceEditor.py
+++ b/cad/src/dna/DnaSequenceEditor/DnaSequenceEditor.py
@@ -283,7 +283,7 @@ class DnaSequenceEditor(Ui_DnaSequenceEditor):
Assigns the sequence in the sequence editor text field to
the current strand. The method it invokes also assigns
complimentary bases to the mate strand(s).
- @see: Chunk.setStrandSequence
+ @see: DnaStrand.setStrandSequence
@note: the method was copied from DnaStrand_EditCommand.assignStrandSequence()
"""
if not self.current_strand:
@@ -482,7 +482,7 @@ class DnaSequenceEditor(Ui_DnaSequenceEditor):
# Qt can get confused between HTML and Plain Text.
self.sequenceTextEdit.insertHtml( htmlSequence ) #@@@ Generates signal???
self.sequenceTextEdit_mate.insertHtml(complementSequence)
- self.setCursorPosition(cursorPos = cursorPos)
+ self.setCursorPosition(cursorPos)
return
@@ -764,7 +764,7 @@ class DnaSequenceEditor(Ui_DnaSequenceEditor):
self._setComplementSequence("")
# Set cursor position.
- self.setCursorPosition(inCursorPos = cursorPos)
+ self.setCursorPosition(cursorPos)
# Update the bg color to white.
self._sequence_changed = False