]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/GuiRef.h
Display equation/theorem numbers in insert cross reference dialog.
[lyx.git] / src / frontends / qt / GuiRef.h
index 4bd50e57a83e7b88d2c782bb6a38d340feee0954..7f8860bd5355c52b933619399bc0ce5244e52eba 100644 (file)
@@ -106,9 +106,10 @@ private:
        int restored_buffer_;
        /// store the last active buffer
        int active_buffer_;
-       /// the references as two strings: plain label name and label as gui string
+       /// the references as three strings: plain label name, label as gui
+       /// string, and pretty dereferenced name ("Lemma 3")
        /// FIXME: might be a good idea to use a custom struct
-       std::vector<std::pair<docstring, docstring>> refs_;
+       std::vector<std::tuple<docstring, docstring, docstring>> refs_;
 };
 
 } // namespace frontend