Skip to content

Commit

Permalink
fix(GUI): nullptr dereferencing
Browse files Browse the repository at this point in the history
  • Loading branch information
vasylskorych committed Oct 26, 2023
1 parent ecaee9c commit 9dbe6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUIDialogs/UnitsViewer/PlotsViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void CPlotsViewer::UpdateSliderLabelName()

void CPlotsViewer::UpdateSliderPosFromSelectedIndex()
{
//if(!m_pModel) return;
if(!m_pModel) return;
//if(m_iPlot == -1) return;
//if(m_pModel->IsPlot2D(m_iPlot)) return;

Expand Down

0 comments on commit 9dbe6f5

Please sign in to comment.