brendand / mbtablegrid

An NSControl subclass which provides a spreadsheet-style table grid
9 stars 3 forks source link

Clicking on a popup button cell and not selecting a value clears the existing value #31

Closed brendand closed 9 years ago

brendand commented 9 years ago

If you don't choose a value from the popup button, the existing value should remain. Currently it's clearing the current value from the cell.

kdbdallas commented 9 years ago

Related to commit 87ef33e132c5db6ffd729f6eb9438608329c56a3 "Fixed PopupButtonCells Always Showing First Value as Selected/Checked When Opened"

brendand commented 9 years ago

I'm still able to reproduce this problem.

popup misbehaviour

Also notice how when you select the value from the other popup, then it refreshes the original.

kdbdallas commented 9 years ago

Right the commit above was not a fix for this issue, it was just 'related' to this issue. The issue that was fixed was that, no matter which value you selected the first value in the list would ALWAYS show with the checkmark. I fixed it so that the checkmark shows correctly with the item that is actually selected.

brendand commented 9 years ago

Oh I see. Sorry, my mistake. Thanks for fixing that one.