Fix crash when toggling Before|After view, by Flössie, fixes #3454
This commit is contained in:
parent
b8eb3492c9
commit
e902091fe9
@ -2535,8 +2535,10 @@ void CropWindow::setCropGUIListener (CropGUIListener* cgl)
|
||||
void CropWindow::setPointerMotionListener (PointerMotionListener* pml)
|
||||
{
|
||||
pmlistener = pml;
|
||||
pml->signal_cycle_rgb().connect( sigc::mem_fun(*this, &CropWindow::cycleRGB) );
|
||||
pml->signal_cycle_hsv().connect( sigc::mem_fun(*this, &CropWindow::cycleHSV) );
|
||||
if (pml) {
|
||||
pml->signal_cycle_rgb().connect( sigc::mem_fun(*this, &CropWindow::cycleRGB) );
|
||||
pml->signal_cycle_hsv().connect( sigc::mem_fun(*this, &CropWindow::cycleHSV) );
|
||||
}
|
||||
}
|
||||
|
||||
PointerMotionListener* CropWindow::getPointerMotionListener ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user