Jürgen Spitzmüller wrote:
Jürgen Spitzmüller wrote:
Even better: this.
However, the drawback of this (and the other patch) is that the outline
widget is not properly updated on buffer switch.
Actually, this problem was not introduced by my patch (it's already in 1.5.3).
And it's fixed by the attached.
+ if (form_->selectedType() != -1)
typeCO->setCurrentIndex(form_->selectedType());
+ else
+ typeCO->setCurrentIndex(0);
I think the last two lines are not needed, the combo will default to 0
anyway.
Abdel.