Fix crash when we delete the ColorBar

The order in which of widgets are deleted is important because
children must be deleted before (so they are removed from parents and
we avoid double frees/deletes).
This commit is contained in:
David Capello 2019-11-19 13:58:35 -03:00
parent e792d4e078
commit 3789b5f21c

View File

@ -181,10 +181,10 @@ namespace app {
class WarningIcon;
ui::HBox m_palHBox;
ui::HBox m_tilesHBox;
ButtonSet m_editPal;
ButtonSet m_buttons;
ui::HBox m_tilesHBox;
ui::HBox m_palHBox;
ButtonSet m_tilesButton;
ButtonSet m_tilesetModeButtons;
std::unique_ptr<PalettePopup> m_palettePopup;