[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [nyx/master] Fixed TorrcPanel AttributeError in menu actions



commit 47b06ab79c348398bd7160b85c7759bbd1f647dd
Author: Sambuddha Basu <sambuddhabasu1@xxxxxxxxx>
Date:   Sun Mar 6 14:32:21 2016 -0500

    Fixed TorrcPanel AttributeError in menu actions
---
 nyx/menu/actions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nyx/menu/actions.py b/nyx/menu/actions.py
index 1bbb71a..0105615 100644
--- a/nyx/menu/actions.py
+++ b/nyx/menu/actions.py
@@ -298,7 +298,7 @@ def make_torrc_menu(torrc_panel):
 
   torrc_menu.add(nyx.menu.item.MenuItem('%s Comments' % label, functools.partial(torrc_panel.set_comments_visible, arg)))
 
-  if torrc_panel.show_line_num:
+  if torrc_panel._show_line_numbers:
     label, arg = 'Hide', False
   else:
     label, arg = 'Show', True

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits