Ignore:
Timestamp:
06/16/12 20:11:59 (22 months ago)
Author:
mstajdohar
Branch:
default
Message:

Fixed NULL pointer bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeqt/point.cpp

    r10916 r10917  
    493493QString Point::text() const 
    494494{ 
    495     return label->toPlainText(); 
     495    if (label == NULL) 
     496    { 
     497        return ""; 
     498    } 
     499    else 
     500    { 
     501        return label->toPlainText(); 
     502    } 
    496503} 
    497504 
Note: See TracChangeset for help on using the changeset viewer.