Changeset 2288
- Timestamp:
- 03/08/10 11:48:55 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FalconView/trunk/public/Applications/FalconView/localpnt/localpnt.cpp
r1971 r2288 3740 3740 void C_localpnt_ovl::add_current_selection(C_localpnt_point* point) 3741 3741 { 3742 ASSERT(point); 3743 3744 if (!m_selected_points.Find(point)) //if the point is not already in focus 3742 if (point != NULL && !m_selected_points.Find(point)) //if the point is not already in focus 3745 3743 { 3746 3744 m_selected_points.AddTail(point); … … 3750 3748 // Note: the following line is local point specific 3751 3749 if (m_selected_points.GetCount() == 1) 3752 m_EditDialogControl.SetFocus(point->m_id, point->m_group_name, get_specification()); 3750 { 3751 C_localpnt_point* pnt = m_selected_points.GetHead(); 3752 m_EditDialogControl.SetFocus(pnt->m_id, pnt->m_group_name, get_specification()); 3753 } 3753 3754 else 3754 3755 m_EditDialogControl.SetFocus(NULL); … … 3758 3759 if (m_selected_points.GetCount() == 1) 3759 3760 { 3760 set_link_edit_dlg_focus( point);3761 set_link_edit_dlg_focus(m_selected_points.GetHead()); 3761 3762 } 3762 3763 else
