commit/StationPlaylist: josephsl: Selective columns (6.0-dev): When located at the second to last column and if one presses move down button, move up button will gain focus.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Wed, 22 Jul 2015 18:37:29 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/e82d788bb071/
Changeset: e82d788bb071
Branch: master
User: josephsl
Date: 2015-07-22 18:37:13+00:00
Summary: Selective columns (6.0-dev): When located at the second to last
column and if one presses move down button, move up button will gain focus.

Affected #: 1 file

diff --git a/addon/appModules/splstudio/splconfig.py
b/addon/appModules/splstudio/splconfig.py
index 598fca2..6d47430 100755
--- a/addon/appModules/splstudio/splconfig.py
+++ b/addon/appModules/splstudio/splconfig.py
@@ -732,7 +732,10 @@ class ColumnAnnouncementsDialog(wx.Dialog):
def onColumnSelection(self, evt):
selIndex = self.trackColumns.GetSelection()
self.upButton.Disable() if selIndex == 0 else
self.upButton.Enable()
- self.dnButton.Disable() if selIndex ==
self.trackColumns.GetCount()-1 else self.dnButton.Enable()
+ if selIndex == self.trackColumns.GetCount()-1:
+ self.upButton.SetFocus()
+ self.dnButton.Disable()
+ else: self.dnButton.Enable()

def onMoveUp(self, evt):
tones.beep(1000, 200)

Repository URL: https://bitbucket.org/nvdaaddonteam/stationplaylist/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/StationPlaylist: josephsl: Selective columns (6.0-dev): When located at the second to last column and if one presses move down button, move up button will gain focus. - commits-noreply