LyX crashes when handling selected databases in the BibTeX Bibliography dialog.
Jürgen Spitzmüller
spitz at lyx.org
Mon Nov 18 08:55:17 UTC 2019
Am Sonntag, den 17.11.2019, 19:50 +0100 schrieb pdv:
> In addPB_clicked() the idx is only used in one place and it’s
> definition
> can be moved. In upPB_clicked() and downPB_clicked() I first made idx
> of
> type QPersistentModelIndex and this avoids the crashes but the
> selection
> is lost when moving an item up/down.
>
> I then redefined idx before the 2nd use and removed the
> selectionChanged() signals and this avoids the crashes and keeps the
> selection intact (patch included).
Thanks. Are you sure the selectionChanged() signal does not need to be
emitted?
Jürgen
>
> P. De Visschere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20191118/397f29ea/attachment.asc>
More information about the lyx-devel
mailing list