[Kst] Plot/Label selection bug.

George Staikos staikos at kde.org
Sat Sep 20 20:04:20 CEST 2003


On Saturday 20 September 2003 06:42, C. Barth Netterfield wrote:
> On a kst with multiple plots.
>
> click on an axis label (not on the last plot - say, plot 1 (the second
> plot)) to edit it.
>
> The plot dialog pops up on the label tab, but the last plot is selected,
> not the one you clicked on, and the flollowing message is dumped on the
> command line:
> QComboBox::setCurrentItem: (Select) Index 1 out of range
>
> But if you exit the plot dialog and try it again, all is well...

  Found it...  The dialog was being modified before the first update() which 
meant that the Select was empty.  The solution is to show_I() first and then 
set the selection.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the Kst mailing list