Fixed restoring last open tab
This commit is contained in:
parent
3bda037e2a
commit
cd9bfee223
|
@ -78,11 +78,10 @@ class MyTwitter():
|
|||
self.account_select.set_active(0)
|
||||
|
||||
# Add the tabs from last session to the notebook
|
||||
page_num = self.db['active_page']
|
||||
for tab, single_tweet in self.db['open_tabs']:
|
||||
self.add_to_notebook(tab, single_tweet)
|
||||
|
||||
# Switch to the correct page from the last session
|
||||
self.tweet_notebook.set_current_page(self.db['active_page'])
|
||||
self.tweet_notebook.set_current_page(page_num)
|
||||
|
||||
# Put Home, @user, Direct Messages, and lists in the View menu for
|
||||
# each user
|
||||
|
|
Reference in New Issue
Block a user