--Bug fixes

-Deleting, then overwriting a palette used the wrong index and was not updating.
This commit is contained in:
Person 2017-03-11 10:26:00 -08:00
parent d2593bb50d
commit 188a5216d5

View File

@ -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);
}
}