Fix for invisible mode

This commit is contained in:
Manuel Cortez 2015-03-12 09:28:58 -06:00
parent 05f75bf5d0
commit 5926732c26

View File

@ -734,11 +734,10 @@ class Controller(object):
self.view.check_menuitem("autoread", autoread)
def fix_wrong_buffer(self):
buffer = self.get_current_buffer()
if isinstance(buffer, buffersController.accountPanel) and hasattr(buffer, "logged") and buffer.logged == False:
self.next_account()
elif buffer.session == None:
self.right()
for i in self.accounts:
buffer = self.view.search("home_timeline", i)
if buffer != None: break
self.view.change_buffer(buffer)
def up(self, *args, **kwargs):
page = self.get_current_buffer()