This makes the FindAndReplace replace-related buttons de-activate

also when switching from an editable buffer to a read-only buffer,
without waiting for the moment in which the dialog is focused.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40582 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Tommaso Cucinotta 2012-01-07 11:41:04 +00:00
parent 6a58f4a572
commit b4aadacc23

View File

@ -87,7 +87,8 @@ public:
bool initialiseParams(std::string const &);
void clearParams() {}
void dispatchParams() {}
bool isBufferDependent() const { return true; }
bool isBufferDependent() const { return false; }
bool canApplyToReadOnly() const { return true; }
void selectAll();
/// update