mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Fix replace current pallete does not create a palette (fix #2480)
This commit is contained in:
parent
ddee4dc0b9
commit
d701ef9ffd
@ -1,5 +1,5 @@
|
||||
// Aseprite
|
||||
// Copyright (C) 2019 Igara Studio S.A.
|
||||
// Copyright (C) 2019-2020 Igara Studio S.A.
|
||||
// Copyright (C) 2001-2018 David Capello
|
||||
//
|
||||
// This program is distributed under the terms of
|
||||
@ -114,8 +114,10 @@ void ColorQuantizationCommand::onExecute(Context* ctx)
|
||||
}
|
||||
else {
|
||||
createPal = false;
|
||||
if (window.currentPalette()->isSelected())
|
||||
if (window.currentPalette()->isSelected()) {
|
||||
entries = PalettePicks(site.palette()->size());
|
||||
entries.all();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user