]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlRef.h
The reference dialog now disconnects from the inset on Apply. Its behaviour
[lyx.git] / src / frontends / controllers / ControlRef.h
index 0fab7431c5e5d993316ff4914bfe07cdb3ee2b7e..7e8dc44d4b46aff8c225df5514f1193cb04881b1 100644 (file)
@@ -38,6 +38,11 @@ public:
        std::vector<string> const getBufferList() const;
        ///
        int getBufferNum() const;
+
+private:
+       /** disconnect from the inset when the Apply button is pressed.
+        Allows easy insertion of multiple references. */
+       virtual bool disconnectOnApply() { return true; }
 };
 
 #endif // CONTROLREF_H