]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
small bugfix
[lyx.git] / src / lyxfunc.C
index 2bfadf470c924862d127f111dbc4234e9980e0ae..a95050cc8befdcd394011bd0edb4f156fdb36f7a 100644 (file)
@@ -1393,10 +1393,13 @@ string const LyXFunc::dispatch(int ac,
                        lyxerr[Debug::INFO] << "No matching paragraph found! ["
                                            << id << "]" << std::endl;
                        break;
+               } else {
+                       lyxerr << "Paragraph " << par->id()
+                              << " found." << endl;
                }
 
                // Set the cursor
-               TEXT()->setCursor(owner->view(), par, 0);
+               owner->view()->text->setCursor(owner->view(), par, 0);
                owner->view()->setState();
                owner->showState();