mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-25 15:18:23 +00:00
Fix crash when we switch to Home tab when blend mode is being changed (fix #1248)
This commit is contained in:
parent
722b5163b9
commit
2e14064ef7
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user