]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FindAndReplace.h
Fix handling of the add branch textfield in GuiBranches
[lyx.git] / src / frontends / qt4 / FindAndReplace.h
index cdb244936832f8d30cdf54b7867d5f8abc6c0c85..354278b9af53da8905346b511ed95da49981423e 100644 (file)
@@ -39,6 +39,7 @@ class FindAndReplaceWidget : public QTabWidget, public Ui::FindAndReplaceUi
 public:
        FindAndReplaceWidget(GuiView & view);
        bool initialiseParams(std::string const & params);
+       void updateGUI();
 
 private:
        ///
@@ -86,11 +87,12 @@ 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
-       void updateView() {}
+       void updateView();
        //virtual void update_contents() {}
 
 protected: