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
This commit is contained in:
Vincent van Ravesteijn 2009-12-31 16:47:02 +00:00
parent 6a5a1726d7
commit c8dd86534d

View File

@ -33,6 +33,7 @@ public:
void dispatchParams() {} void dispatchParams() {}
void enableView(bool enable); void enableView(bool enable);
bool isBufferDependent() const { return true; } bool isBufferDependent() const { return true; }
bool canApply() const { return true; }
//@} //@}
private Q_SLOTS: private Q_SLOTS: