The problem also happen with other dialogs. For example, open the document
dialog, press alt+p (pagestyle), and press enter -> The pagestyle button
becomes empty. Furthermore, when pressing "Apply", lyx will crash.
I havn't fixed the other dialogs, because I don't know if my fix is good
(maybe there is a simple fix to the problem).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2788
a592a061-630c-0410-9148-
cb99ea01b6c8
+2001-09-21 Dekel Tsur <dekelts@tau.ac.il>
+
+ * FormRef.C (input): Fix crash when using dialog with keyboard.
+
2001-09-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* forms/form_document.fd: small tweaks.
} else if (ob == dialog_->button_update ||
ob == dialog_->sort ||
ob == dialog_->buffer) {
+ if (ob == dialog_->buffer &&
+ fl_get_choice(dialog_->buffer) < 1)
+ fl_set_choice(dialog_->buffer, 1);
if (ob == dialog_->button_update ||
ob == dialog_->buffer) {
fl_unfreeze_form(form());
} else if (ob == dialog_->type) {
+ if (fl_get_choice(dialog_->type) < 1)
+ fl_set_choice(dialog_->type, 1);
int const type = fl_get_choice(dialog_->type) - 1;
if (controller().params().getCmdName() ==