[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Sat Jul 5 02:51:43 CEST 2003


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];
 




More information about the Kst mailing list