From 06ca24abd18a2d192e080bb33e4ff2c20291e5d7 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Sun, 27 Jan 2013 09:24:01 +0100 Subject: [PATCH] Make the "Was" column in the "manage tags" editor read-only --- src/calibre/gui2/dialogs/tag_list_editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/dialogs/tag_list_editor.py b/src/calibre/gui2/dialogs/tag_list_editor.py index 298641a9df..4397ad7d28 100644 --- a/src/calibre/gui2/dialogs/tag_list_editor.py +++ b/src/calibre/gui2/dialogs/tag_list_editor.py @@ -136,7 +136,7 @@ class TagListEditor(QDialog, Ui_TagListEditor): item.setFlags (item.flags() & ~Qt.ItemIsSelectable) self.table.setItem(row, 1, item) item = QTableWidgetItem('') - item.setFlags (item.flags() & ~Qt.ItemIsSelectable) + item.setFlags (item.flags() & ~(Qt.ItemIsSelectable|Qt.ItemIsEditable)) self.table.setItem(row, 2, item) # Scroll to the selected item if there is one