Ethereal-dev: Re: [Ethereal-dev] Deactivate "Apply" button if the display filter is not valid?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 10 Feb 2004 15:47:29 -0800

On Feb 9, 2004, at 2:33 AM, Biot Olivier wrote:

Today the display filter is shaded green if valid and red if invalid. Maybe we want to activate the "Apply" button only if the display filter is valid.

If you deactivate the "Apply" button (which presumably also means that if you press the "Enter" key, it won't apply the filter), you can't try to compile an invalid filter in order to get an error dialog indicating *why* it's not valid.