From 61c52fe7ccf5871b0a5de9752757341fbacf8949 Mon Sep 17 00:00:00 2001 From: "G.K.MacGregor" Date: Sun, 21 May 2023 18:32:25 +0100 Subject: [PATCH] Fix resetting reserved bit for display attributes --- x26model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x26model.cpp b/x26model.cpp index 4a2ca59..09c5914 100644 --- a/x26model.cpp +++ b/x26model.cpp @@ -618,7 +618,7 @@ bool X26Model::setData(const QModelIndex &index, const QVariant &value, int role if (triplet.data() >= 0x18) m_parentMainWidget->document()->undoStack()->push(new EditTripletCommand(m_parentMainWidget->document(), this, index.row(), EditTripletCommand::ETdata, 0x00, 0, role)); break; - case 0x28: // Display attributes + case 0x2c: // Display attributes case 0x2e: // Font style // Clear reserved bit D3 if (triplet.data() & 0x08)