>Author: lasgouttes >Date: Fri Nov 13 15:32:51 2009 >New Revision: 31969 >URL: http://www.lyx.org/trac/changeset/31969 > >+ // Is this a function that acts on inset at point? >+ if (lyxaction.funcHasFlag(cmd.action, LyXAction::AtPoint) >+ && nextInset()) { >+ result().dispatched(true); >+ result().update(Update::FitCursor | Update::Force);
This is not correct. Result() returns a copy of the disp_ object and so these two lines have no effect. I made result() return a const & in order not to have anyone trying to do this again. See r34143. Vincent