On Sat, Nov 13, 2004 at 10:16:52PM +0100, Georg Baum wrote: > André, > > this code in InsetTabularMailer::params2string(): > > #ifdef WITH_WARNINGS > #warning wrong! > #endif > //data << name_ << " \\active_cell " << inset.getActCell() << '\n'; > data << name_ << " \\active_cell " << 0 << '\n'; > > is responsible for wrong cell information in the qt tabular dialog. You > removed the actcell member of the tabular inset that was used here > before. How should this piece of code be repaired? Is there any other way > to retrieve the current cell, or do we need to reintroduce actcell?
Is the cursor in the cell if we call this code? If so, we'd take the idx() of the correct slice. If not, the 'easy' way out would be to revive 'actcell_', even if I don't like it. Andre'