Changeset 1490

Show
Ignore:
Timestamp:
07/11/08 19:36:27 (7 weeks ago)
Author:
rob
Message:

Changed popup action in ShowTagAction? to be called using CallAfter?
* tab creation is now done directly in frame.py instead of in a CallAfter?, so we have to put the popup action in a CallAfter? to give the popup a chance to disappear before potentially creating a new tab

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/peppy/plugins/project.py

    r1486 r1490  
    272272            pass 
    273273        url = self.mode.project_info.project_top_dir.resolve2(file) 
    274         self.frame.findTabOrOpen(url) 
     274        # This can change the tab structure, so use a CallAfter 
     275        wx.CallAfter(self.frame.findTabOrOpen, url) 
    275276 
    276277