Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2871555
)
eda:gui:TableEditor::Select; fix crash if TableEditor is not properly initialized.
author
Rejean Loyer
<rejean.loyer@gmail.com>
Sun, 12 Aug 2012 14:01:11 +0000
(10:01 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sun, 12 Aug 2012 14:58:57 +0000
(10:58 -0400)
eda/libeda/src/gui/TableEditor.ec
patch
|
blob
|
history
diff --git
a/eda/libeda/src/gui/TableEditor.ec
b/eda/libeda/src/gui/TableEditor.ec
index
ad59117
..
390406d
100644
(file)
--- a/
eda/libeda/src/gui/TableEditor.ec
+++ b/
eda/libeda/src/gui/TableEditor.ec
@@
-702,7
+702,7
@@
public:
bool result;
DebugLn("TableEditor::Select");
// EDA is now set up so that Next()/Prev() will work with sysID = , but not with Find() (As Find() will return a particular set of results)
- if(idField && (editRow.sysID = id, !editRow.nil))// && editRow.Find(idField, middle, nil, id))
+ if(idField &&
editRow &&
(editRow.sysID = id, !editRow.nil))// && editRow.Find(idField, middle, nil, id))
{
selectedId = editRow.sysID;
EditLoad();