mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
In the Document dialog, enable the "Author-Year/Numerical" citation choice
only when the "Use natbib" checkbox is active. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2720 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7d09d97b56
commit
e670bed4c5
@ -1,6 +1,8 @@
|
||||
2001-09-10 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
2001-09-11 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* FormMathsBitmap (build): fix memory leak.
|
||||
* FormDocument.C (input, options_update): add code to enable the
|
||||
Author-Year/Numerical citation choice only if the natbib checkbox is
|
||||
active.
|
||||
|
||||
2001-09-08 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
|
@ -345,7 +345,12 @@ bool FormDocument::input( FL_OBJECT * ob, long data )
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if (ob == options_->check_use_natbib) {
|
||||
setEnabled(options_->choice_citation_format,
|
||||
fl_get_button(options_->check_use_natbib));
|
||||
}
|
||||
|
||||
switch (data) {
|
||||
case INPUT:
|
||||
case CHECKCHOICECLASS:
|
||||
@ -721,6 +726,7 @@ void FormDocument::options_update(BufferParams const & params)
|
||||
fl_set_button(options_->check_use_natbib, params.use_natbib);
|
||||
fl_set_choice(options_->choice_citation_format,
|
||||
int(params.use_numerical_citations)+1);
|
||||
setEnabled(options_->choice_citation_format, params.use_natbib);
|
||||
fl_set_counter_value(options_->slider_secnumdepth, params.secnumdepth);
|
||||
fl_set_counter_value(options_->slider_tocdepth, params.tocdepth);
|
||||
if (!params.float_placement.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user