mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Fix errors in handlers.
This commit is contained in:
parent
7206debb30
commit
9fbbd29c3b
@ -126,7 +126,7 @@ class other_buffers(wx.Panel):
|
|||||||
if current == -1:
|
if current == -1:
|
||||||
output.speak("Select a buffer first.",True)
|
output.speak("Select a buffer first.",True)
|
||||||
return False
|
return False
|
||||||
if self.buffers.get_text_column(current, 1) == 'hide':
|
if self.buffers.get_text_column(current, 1) == 'Hide':
|
||||||
output.speak("The buffer is hidden, show it first.",True)
|
output.speak("The buffer is hidden, show it first.",True)
|
||||||
return False
|
return False
|
||||||
if current <= 0:
|
if current <= 0:
|
||||||
@ -138,7 +138,7 @@ class other_buffers(wx.Panel):
|
|||||||
if current == -1:
|
if current == -1:
|
||||||
output.speak("Select a buffer first.",True)
|
output.speak("Select a buffer first.",True)
|
||||||
return False
|
return False
|
||||||
if self.buffers.get_text_column(current, 1) == 'hide':
|
if self.buffers.get_text_column(current, 1) == 'Hide':
|
||||||
output.speak("The buffer is hidden, show it first.",True)
|
output.speak("The buffer is hidden, show it first.",True)
|
||||||
return False
|
return False
|
||||||
if current >= self.buffers.get_count():
|
if current >= self.buffers.get_count():
|
||||||
|
Loading…
Reference in New Issue
Block a user