msgid "Unable to detect if table exists!\n"
msgstr "Unable to detect if table exists!\n"
-#: ./src/gui/TableEditor.ec:872
-#: ./src/gui/TableEditor.ec:891
+#: ./src/gui/TableEditor.ec:873
+#: ./src/gui/TableEditor.ec:892
msgid "WordList match cannot be found in database."
msgstr "WordList match cannot be found in database."
{
DebugLn("TableEditor::CreateRow");
//list.NotifySelect(this, list, null, 0);
- if(!modifiedDocument)
+ if(table && editRow && editRow.tbl && !modifiedDocument)
{
uint id; // = table.rowsCount + 1; // this is bad with deleted rows, won't work, how to have unique id?
// I think the 3 following comment lines apply to the old sqlite driver before many fix we done for wsms
}
/*if(fldActive)
r.SetData(fldActive, active);*/
+ selectedId = id;
#ifdef _DEBUG
newText = PrintString("[", newEntryStringDebug, id, "]");