From b1c905264fb11d0f8f32adb1b9031d458e85072b Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Tue, 12 Jan 2010 13:48:05 +0000 Subject: [PATCH] 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 --- src/LyXAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2