CVS commit by staikos:
don't crash
M +2 -2 ksthsdialog_i.cpp 1.22
--- kdeextragear-2/kst/kst/ksthsdialog_i.cpp #1.21:1.22
@@ -133,6 +133,6 @@ void KstHsDialogI::update(int new_index)
/* Fill fields with the correct values */
- if (n_c > 0) {
i_hs = Select->currentItem();
+ if (n_c > 0 && i_hs < n_c) {
hs = _curves[i_hs];