+2001-06-17 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * FormCitation.C (build): removed bc().refresh() call as the controller
+ should take care of this.
+ (update): removed noKeys stuff as you don't use it.
+
+ * FormCitationDialogImpl.C (slotBibSelected): Can't select bibkeys[-1]!
+ We were being bit by the xforms browser returns the browser line number
+ in Fortran style, but Qt uses C-style.
+
2001-06-16 Angus Leeming <a.leeming@ic.ac.uk>
* FormCitationDialogImpl.C: added using directive.
bc().addReadOnly(dialog_->citationStyleCO);
bc().addReadOnly(dialog_->textBeforeED);
bc().addReadOnly(dialog_->textAfterED);
-
- bc().refresh();
}
setBibButtons(OFF);
setCiteButtons(OFF);
- int noKeys = int(max(bibkeys.size(), citekeys.size()));
-
- // Place bounds, so that 4 <= noKeys <= 10
- noKeys = max(4, min(10, noKeys));
-
dialog_->textAfterED->setText( controller().params().getOptions().c_str());
}
/**
- * $Id: FormCitationDialogImpl.C,v 1.8 2001/06/16 14:48:12 leeming Exp $
+ * $Id: FormCitationDialogImpl.C,v 1.9 2001/06/17 13:22:55 leeming Exp $
*/
#include <config.h>
infoML->clear();
infoML->setText( biblio::getInfo( theMap,
- form_->bibkeys[sel-1] ).c_str() );
+ form_->bibkeys[sel] ).c_str() );
// Highlight the selected browser_bib key in browser_cite if
// present
bc().addReadOnly(dialog_->choice_style);
bc().addReadOnly(dialog_->input_before);
bc().addReadOnly(dialog_->input_after);
-
}