mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-11-03 17:50:27 -05:00 
			
		
		
		
	--Bug fixes
-Deleting, then overwriting a palette used the wrong index and was not updating.
This commit is contained in:
		@ -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);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user