Skip to content
Snippets Groups Projects
Commit 2e094052 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH : status modified when setting a different gridSize

parent b3f88a6a
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,14 @@ public:
/** Set Grid size with an unsigned int parmeter*/
void SetGridSize(unsigned int inSize)
{
m_GridSize.Fill(inSize);
SizeType iSize;
iSize.Fill(inSize);
if(m_GridSize != iSize)
{
m_GridSize = iSize;
this->Modified();
}
}
/** Reimplement the method Modified() */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment