Skip to content

Commit ccf97b8

Browse files
committed
FIX: Better consistency
1 parent 18c5fde commit ccf97b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surfer/viz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def toggle_toolbars(self, show=None):
562562
if hasattr(bars[0], 'isVisible'):
563563
# QT4
564564
show = not bars[0].isVisible()
565-
elif hasattr(bars[0], 'Show'):
565+
elif hasattr(bars[0], 'Shown'):
566566
# WX
567567
show = not bars[0].Shown()
568568
for bar in bars:

0 commit comments

Comments
 (0)