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 New Issue