Richard Heck wrote:
This addresses some bugs involving the mouse in the citation dialog. One was reported as 4121; the other is one I've seen, where clicking in the left pane causes a multi-element selection. This is because the selection model is being reset too often.
Could you elaborate a bit more on why this was reset at the first place? Does your patch modify the dialog behaviour? Sorry, I forgot about this stuff.
OK to commit?
If it works, just commit it. Except for the extra blank space there:
+ int const sel_nr = selSels.empty() ? -1 : selSels.first().row();
Abdel.