Skip to content

Commit

Permalink
FF: previous fix was *adding* rather thant *replacing* current selection
Browse files Browse the repository at this point in the history
  • Loading branch information
peircej committed Jul 7, 2016
1 parent 90f2e10 commit e0b2581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psychopy/app/coder/coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ def Paste(self, event=None):
except:
# if not then wx conversion broek so get raw data instead
txt = dataObj.GetDataHere()
self.AddText(txt)
self.ReplaceSelection(txt)

def _GetSelectedLineNumbers(self):
# used for the comment/uncomment machinery from ActiveGrid
Expand Down

0 comments on commit e0b2581

Please sign in to comment.