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

atagar at torproject.org atagar at torproject.org
Sun Mar 6 19:40:23 UTC 2016


commit 47b06ab79c348398bd7160b85c7759bbd1f647dd
Author: Sambuddha Basu <sambuddhabasu1 at gmail.com>
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



More information about the tor-commits mailing list