mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -05:00
--Bug fixes
-Deleting, then overwriting a palette used the wrong index and was not updating.
This commit is contained in:
parent
d2593bb50d
commit
188a5216d5
@ -398,7 +398,7 @@ void PaletteEditor::OnDeletePaletteButtonClicked()
|
||||
m_PaletteList->Delete(m_CurrentPaletteFilePath, m_PaletteIndex);
|
||||
::FillPaletteTable(m_CurrentPaletteFilePath, table, m_PaletteList);
|
||||
emit PaletteFileChanged();
|
||||
OnPaletteCellClicked(0, table->rowCount() - 1);
|
||||
OnPaletteCellClicked(table->rowCount() - 1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user