DougEdey / StrangeBrew

Java based Homebrew Recipe tool
22 stars 10 forks source link

[Patch] Fixes bug [ 1581203 ] \"Date changing\" #108

Closed DougEdey closed 12 years ago

DougEdey commented 12 years ago

Converted from SourceForge issue 1728821, submitted by jeroen_wouters

This patch should fix bug [ 1581203 ] "Date changing". The problem was that the DatePicker txtDate had an actionListener attached to it that was only designed to handle text fields (StrangeSwing.actionPerformed()). However, txtDate is now a DatePicker, so it was ignored. The patch attaches a actionListener that compares the dates and sets the new one, if necessary.