mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
temp
This commit is contained in:
parent
f37bd183ab
commit
8f6c41a110
@ -573,13 +573,12 @@ void InsetRef::addToToc(DocIterator const & cpit, bool output_active,
|
||||
|
||||
// Code for display of formatted references
|
||||
bool const use_formatted_ref = buffer().params().use_formatted_ref;
|
||||
if (use_formatted_ref) {
|
||||
string const & cmd = getCmdName();
|
||||
docstring const & ref = getParam("reference");
|
||||
if (cmd != "pageref" && cmd != "vpageref" && cmd != "vref" &&
|
||||
cmd != "labelonly")
|
||||
screen_label_ = displayString(ref, cmd);
|
||||
}
|
||||
docstring & target = use_formatted_ref ? screen_label_ : tooltip_;
|
||||
string const & cmd = getCmdName();
|
||||
docstring const & ref = getParam("reference");
|
||||
if (cmd != "pageref" && cmd != "vpageref" && cmd != "vref" &&
|
||||
cmd != "labelonly")
|
||||
target = displayString(ref, cmd);
|
||||
return;
|
||||
}
|
||||
// It seems that this reference does not point to any valid label.
|
||||
|
Loading…
Reference in New Issue
Block a user