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

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



commit a2937170af8f17ff048cccc1093776f174467352
Author: Kamran Riaz Khan <krkhan@xxxxxxxxxxxxxx>
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)



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