]> git.lyx.org Git - features.git/commitdiff
Allow server-goto-row to act when no buffer is open. (The file argument is mandatory...
authorVincent van Ravesteijn <vfr@lyx.org>
Tue, 12 Jan 2010 13:48:05 +0000 (13:48 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Tue, 12 Jan 2010 13:48:05 +0000 (13:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32979 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXAction.cpp

index 2ea7421b1f62661a5aaa8ad0119f57e5dd3cbc3c..425b123b1aac2f38626978e0dc3f165fe90bb204 100644 (file)
@@ -2806,7 +2806,7 @@ void LyXAction::init()
  * \li Origin: Edmar, 23 Dec 1998
  * \endvar
  */
-               { LFUN_SERVER_GOTO_FILE_ROW, "server-goto-file-row", ReadOnly, System },
+               { LFUN_SERVER_GOTO_FILE_ROW, "server-goto-file-row", ReadOnly | NoBuffer, System },
 /*!
  * \var lyx::FuncCode lyx::LFUN_SERVER_NOTIFY
  * \li Action: Sends notify message about the last key-sequence to client.