From: Vincent van Ravesteijn Date: Tue, 12 Jan 2010 13:48:05 +0000 (+0000) Subject: Allow server-goto-row to act when no buffer is open. (The file argument is mandatory... X-Git-Tag: 2.0.0~4416 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b1c905264fb11d0f8f32adb1b9031d458e85072b;p=features.git Allow server-goto-row to act when no buffer is open. (The file argument is mandatory.) Part of bug #1782. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32979 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 2ea7421b1f..425b123b1a 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -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.