Fix crash when we switch to Home tab when blend mode is being changed (fix #1248)

This commit is contained in:
David Capello 2016-09-12 15:11:44 -03:00
parent 722b5163b9
commit 2e14064ef7

View File

@ -168,6 +168,10 @@ private:
}
void onCommitChange() {
// Nothing to do here, as there is no layer selected.
if (!m_layer)
return;
base::ScopedValue<bool> switchSelf(m_selfUpdate, true, false);
m_timer.stop();