Commit f3467272 authored by Dick Hollenbeck's avatar Dick Hollenbeck
Browse files

FIX: only invoke fp-lib-table options editor when table not empty.

parent bfc72b01
Loading
Loading
Loading
Loading
+18 −15
Original line number Diff line number Diff line
@@ -583,6 +583,8 @@ private:
    {
        FP_TBL_MODEL*   tbl = cur_model();

        if( tbl->GetNumberRows() )
        {
            int     curRow = getCursorRow();
            ROW&    row    = tbl->rows[curRow];

@@ -607,6 +609,7 @@ private:
#endif
            }
        }
    }

    void onCancelButtonClick( wxCommandEvent& event )
    {