QString const before = textBeforeED->text();
QString const after = textAfterED->text();
- apply(choice, full, force, before, after);
+ applyParams(choice, full, force, before, after);
}
}
+void GuiCitation::on_citationTB_currentChanged(int i)
+{
+ if (i == 0)
+ findLE->setFocus();
+ else if (citationStyleCO->isEnabled())
+ citationStyleCO->setFocus();
+ else
+ textAfterED->setFocus();
+}
+
+
void GuiCitation::on_okPB_clicked()
{
applyView();
}
-void GuiCitation::apply(int const choice, bool full, bool force,
+void GuiCitation::applyParams(int const choice, bool full, bool force,
QString before, QString after)
{
if (cited_keys_.isEmpty())