mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-17 03:15:39 +00:00
Memory Card Editor: Make fields not editable
This commit is contained in:
parent
85b49da62a
commit
690fa6ec3c
|
@ -222,6 +222,7 @@ bool MemoryCardEditorDialog::loadCard(const QString& filename, Card* card)
|
|||
|
||||
static void setCardTableItemProperties(QTableWidgetItem* item, const MemoryCardImage::FileInfo& fi)
|
||||
{
|
||||
item->setFlags(item->flags() & ~(Qt::ItemIsEditable));
|
||||
if (fi.deleted)
|
||||
{
|
||||
item->setBackground(Qt::darkRed);
|
||||
|
|
Loading…
Reference in a new issue