FIX: only invoke fp-lib-table options editor when table not empty.
This commit is contained in:
parent
bfc72b0183
commit
f346727214
|
@ -583,6 +583,8 @@ private:
|
||||||
{
|
{
|
||||||
FP_TBL_MODEL* tbl = cur_model();
|
FP_TBL_MODEL* tbl = cur_model();
|
||||||
|
|
||||||
|
if( tbl->GetNumberRows() )
|
||||||
|
{
|
||||||
int curRow = getCursorRow();
|
int curRow = getCursorRow();
|
||||||
ROW& row = tbl->rows[curRow];
|
ROW& row = tbl->rows[curRow];
|
||||||
|
|
||||||
|
@ -607,6 +609,7 @@ private:
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void onCancelButtonClick( wxCommandEvent& event )
|
void onCancelButtonClick( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue