Skip to content
Permalink
Browse files
BF: Whitespace/indentGuide toggle events weren't recognised in Coder
Fixes #1468
  • Loading branch information
peircej committed Aug 10, 2017
1 parent b8e0cfc commit 4ebbdb9c5468beebb50d817697c0665450e9a5ad
Showing with 2 additions and 2 deletions.
  1. +2 −2 psychopy/app/coder/coder.py
@@ -1682,7 +1682,7 @@ def makeMenus(self):
_translate("&Indentation guides\t%s") % key,
hint)
self.indentGuideChk.Check(self.appData['showIndentGuides'])
wx.EVT_MENU(self, item.GetId(),
wx.EVT_MENU(self, self.indentGuideChk.GetId(),
self.setShowIndentGuides)
# whitespace
key = keyCodes['toggleWhitespace']
@@ -1691,7 +1691,7 @@ def makeMenus(self):
_translate("&Whitespace\t%s") % key,
hint)
self.showWhitespaceChk.Check(self.appData['showWhitespace'])
wx.EVT_MENU(self, item.GetId(), self.setShowWhitespace)
wx.EVT_MENU(self, self.showWhitespaceChk.GetId(), self.setShowWhitespace)
# EOL markers
key = keyCodes['toggleEOLs']
hint = _translate("Show End Of Line markers in the code")

0 comments on commit 4ebbdb9

Please sign in to comment.