From c8dd86534d91b653bc91f0f868ca6d1c88dfdda6 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Thu, 31 Dec 2009 16:47:02 +0000 Subject: [PATCH] Update the GuiInfo dialog also when the document is read-only. A dialog that does not dispatch a single LFUN (see getLfun()) but is buffer dependent (see isBufferDependent()) should implement the canApply function (if I'm correct). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32695 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiInfo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontends/qt4/GuiInfo.h b/src/frontends/qt4/GuiInfo.h index 431bc3300c..c3002fd235 100644 --- a/src/frontends/qt4/GuiInfo.h +++ b/src/frontends/qt4/GuiInfo.h @@ -33,6 +33,7 @@ public: void dispatchParams() {} void enableView(bool enable); bool isBufferDependent() const { return true; } + bool canApply() const { return true; } //@} private Q_SLOTS: -- 2.39.2