Changeset 908


Ignore:
Timestamp:
Sep 24, 2006, 11:06:02 PM (15 years ago)
Author:
livings124
Message:

only update pieces viewer when it's visible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nat-traversal/macosx/Controller.m

    r906 r908  
    943943    else
    944944    {
    945         [fPiecesWindowController updateView: nil];
     945        [fPiecesWindowController updateView: NO];
    946946        [[fPiecesWindowController window] orderFront: nil];
    947947    }
     
    979979   
    980980    //update pieces viewer
    981     [fPiecesWindowController updateView: NO];
     981    if ([[fPiecesWindowController window] isVisible])
     982        [fPiecesWindowController updateView: NO];
    982983
    983984    //badge dock
Note: See TracChangeset for help on using the changeset viewer.