From eb96bab927321a225a85df88e5bf0c886e97177e Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Mon, 14 May 2007 05:16:57 +0000 Subject: [PATCH] The source view dialog does not send a lfun, so it can be applied unconditionally. This fixes #3398 and #3594. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18300 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ControlViewSource.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/controllers/ControlViewSource.h b/src/frontends/controllers/ControlViewSource.h index 16a05b7996..9c21fcc4ba 100644 --- a/src/frontends/controllers/ControlViewSource.h +++ b/src/frontends/controllers/ControlViewSource.h @@ -35,6 +35,8 @@ public: virtual void dispatchParams() {} /// virtual bool isBufferDependent() const { return true; } + /// + bool canApply() const { return true; } /// The title displayed by the dialog reflects source type. docstring const title() const; -- 2.39.2