Text box changes are ignored if Enter is not pressed
Bug #1270801 reported by
Danil Sokolov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Workcraft |
Fix Committed
|
Low
|
Danil Sokolov |
Bug Description
In dialogue boxes we can send a fake Enter keypress when OK button is clicked.
Related branches
lp:~danilovesky/workcraft/trunk-bug-1343256
- Danil Sokolov: Approve
-
Diff: 1240 lines (+165/-447)24 files modifiedCircuitPlugin/src/org/workcraft/plugins/circuit/Circuit.java (+3/-3)
DfsPlugin/src/org/workcraft/plugins/dfs/Dfs.java (+1/-1)
DfsPlugin/src/org/workcraft/plugins/dfs/NamePropertyDescriptor.java (+0/-53)
PetriNetPlugin/src/org/workcraft/plugins/petri/NamePropertyDescriptor.java (+0/-53)
PetriNetPlugin/src/org/workcraft/plugins/petri/PetriNet.java (+1/-1)
SONPlugin/src/org/workcraft/plugins/son/NamePropertyDescriptor.java (+0/-56)
SONPlugin/src/org/workcraft/plugins/son/SON.java (+1/-0)
STGPlugin/src/org/workcraft/plugins/stg/STG.java (+1/-1)
STGPlugin/src/org/workcraft/plugins/stg/STGNameManager.java (+29/-52)
STGPlugin/src/org/workcraft/plugins/stg/propertydescriptors/NamePropertyDescriptor.java (+0/-54)
WorkcraftCore/src/org/workcraft/dom/AbstractModel.java (+6/-5)
WorkcraftCore/src/org/workcraft/dom/math/AbstractMathModel.java (+11/-25)
WorkcraftCore/src/org/workcraft/dom/math/MathNode.java (+5/-4)
WorkcraftCore/src/org/workcraft/dom/visual/AbstractVisualModel.java (+5/-31)
WorkcraftCore/src/org/workcraft/dom/visual/VisualTransformableNode.java (+30/-3)
WorkcraftCore/src/org/workcraft/gui/MainMenu.java (+6/-1)
WorkcraftCore/src/org/workcraft/gui/MainWindow.java (+24/-21)
WorkcraftCore/src/org/workcraft/gui/propertyeditor/GenericCellEditor.java (+11/-6)
WorkcraftCore/src/org/workcraft/gui/propertyeditor/NamePropertyDescriptor.java (+18/-14)
WorkcraftCore/src/org/workcraft/gui/propertyeditor/PropertyEditorTable.java (+5/-5)
WorkcraftCore/src/org/workcraft/observation/ObservableState.java (+1/-0)
WorkcraftCore/src/org/workcraft/workspace/WorkspaceEntry.java (+5/-0)
XmasPlugin/src/org/workcraft/plugins/xmas/NamePropertyDescriptor.java (+0/-56)
XmasPlugin/src/org/workcraft/plugins/xmas/Xmas.java (+2/-2)
Changed in workcraft: | |
importance: | Undecided → Low |
tags: | added: ui |
Changed in workcraft: | |
milestone: | none → 3.0 |
status: | New → Triaged |
To post a comment you must log in.
Fixed by adding this code to the constructor of GenericCellEditor:
textField. addFocusListene r(new FocusAdapter() { FocusEvent e) {
stopCellEd iting() ;
@Override
public void focusLost(
}
});