Changeset [b8026e19ba3aaed8af79f6066979f4f2c1d0a06c] by Alexander Ljungberg
Revision b8026e19ba3aaed8af79f6066979f4f2c1d0a06c,
committed by Alexander Ljungberg
· July 17th, 2011 @ 03:43 PM
Merge pull request #1320 from MCF/cappuccino
If a CPTextFields target action changed the first responder then the target action was called twice if the textfield edit was completed by hitting the enter/return key. This fixes the problem by setting the _isEditing flag to NO before the action is called in the insertNewline function.
See this thread for more details.
Also included a new manual test for an editable CPTableView to
make testing the fix easier.
https://github.com/280north/cappuccino/commit/b8026e19ba3aaed8af79f...
11 changed files
-
A
Tests/Manual/CPMenuTest/MyView.j -
A
Tests/Manual/TableTest/Editing/AppController.j -
A
Tests/Manual/TableTest/Editing/Info.plist -
A
Tests/Manual/TableTest/Editing/Jakefile -
A
Tests/Manual/TableTest/Editing/Resources/spinner.gif -
A
Tests/Manual/TableTest/Editing/index-debug.html -
A
Tests/Manual/TableTest/Editing/index.html -
A
Tests/Manual/TableTest/Editing/main.j -
M
AppKit/CPMenu/_CPMenuManager.j -
M
AppKit/CPTextField.j -
M
Tests/Manual/CPMenuTest/AppController.j