[Kst] [Bug 86588] Right-clicking on blank area in data manager causes crash

Rick Chern rchern at interchange.ubc.ca
Wed Aug 4 19:23:34 CEST 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=86588      
rchern interchange ubc ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From rchern interchange ubc ca  2004-08-04 19:23 -------
CVS commit by rchern: 

Bug 86588


  M +5 -0      kstdatamanager_i.cpp   1.69


--- kdeextragear-2/kst/kst/kstdatamanager_i.cpp  #1.68:1.69
 @ -503,4 +503,9  @ void KstDataManagerI::delete_I() {
 void KstDataManagerI::contextMenu(QListViewItem *i, const QPoint& p, int col) {
   Q_UNUSED(col)
+
+  if (!i) {
+    return;
+  }
+  
   KstObjectItem *koi = static_cast<KstObjectItem*>(i);
   KstBaseCurvePtr c;



More information about the Kst mailing list