Changeset 8467 in webkit


Ignore:
Timestamp:
Jan 27, 2005, 5:16:20 PM (21 years ago)
Author:
hyatt
Message:

Tweak the previous checkin to deal with a dynamic change to 0 results properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/kwq/KWQLineEdit.mm

    r8465 r8467  
    337337        if (!buttonCell)
    338338            [searchCell resetSearchButtonCell];
    339         if (!cellMenu && maxResults > 0)
     339        if (cellMenu && !maxResults)
     340            [searchCell setSearchMenuTemplate:nil];
     341        else if (!cellMenu && maxResults)
    340342            [searchCell setSearchMenuTemplate:[[WebCoreViewFactory sharedFactory] cellMenuForSearchField]];
    341343    }
Note: See TracChangeset for help on using the changeset viewer.