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

ENH: add a signal to propagate the new spacing if a new resol was loaded

parent c393450a
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,7 @@ public:
//
// Signals.
signals:
void SpacingChanged( const SpacingType& );
/*-[ PROTECTED SECTION ]---------------------------------------------------*/
......@@ -261,6 +262,9 @@ AbstractImageModel
{
throw;
}
// if everything ok emit the new spacing of the current lod
emit SpacingChanged(ToImageBase()->GetSpacing());
}
/*****************************************************************************/
......
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