[tor-commits] [arm/release] Controller page isn't changed in case the required panel isn't currently

atagar at torproject.org atagar at torproject.org
Sun Jul 17 06:08:22 UTC 2011


commit a2937170af8f17ff048cccc1093776f174467352
Author: Kamran Riaz Khan <krkhan at inspirated.com>
Date:   Wed Jun 1 17:12:35 2011 +0500

    Controller page isn't changed in case the required panel isn't currently
    being displayed.
---
 src/cli/menu.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/cli/menu.py b/src/cli/menu.py
index 29b6f82..beceb01 100644
--- a/src/cli/menu.py
+++ b/src/cli/menu.py
@@ -407,8 +407,6 @@ class Menu():
       return False
 
   def _callbackSet(self, panel, attr, value, key=None):
-    self._callbackView(panel)
-
     control = cli.controller.getController()
     panel = control.getPanel(panel)
 
@@ -427,8 +425,6 @@ class Menu():
             break
 
   def _callbackPressKey(self, panel, key):
-    self._callbackView(panel)
-
     control = cli.controller.getController()
     panel = control.getPanel(panel)
     panel.handleKey(key)





More information about the tor-commits mailing list