diff --git a/src/calibre/gui2/preferences/create_custom_column.py b/src/calibre/gui2/preferences/create_custom_column.py
index bf6b162bde..6a81abf499 100644
--- a/src/calibre/gui2/preferences/create_custom_column.py
+++ b/src/calibre/gui2/preferences/create_custom_column.py
@@ -107,6 +107,7 @@ class CreateCustomColumn(QDialog, Ui_QCreateCustomColumn):
'yesno': 9,
'tags' : 1,
'series': 3,
+ 'rating': 8,
}.get(which, 10))
self.column_name_box.setText(which)
self.column_heading_box.setText({
@@ -115,6 +116,7 @@ class CreateCustomColumn(QDialog, Ui_QCreateCustomColumn):
'yesno':_('Yes/No'),
'tags': _('My Tags'),
'series': _('My Series'),
+ 'rating': _('My Rating'),
'last_modified':_('Last Modified')}[which])
if self.composite_box.isVisible():
self.composite_box.setText(
diff --git a/src/calibre/gui2/preferences/create_custom_column.ui b/src/calibre/gui2/preferences/create_custom_column.ui
index 8ed54b6af6..683bfe6eb5 100644
--- a/src/calibre/gui2/preferences/create_custom_column.ui
+++ b/src/calibre/gui2/preferences/create_custom_column.ui
@@ -10,7 +10,7 @@
0
0
603
- 292
+ 344
@@ -267,7 +267,7 @@ four values, the first of them being the empty value.
-
- Quick create: <a href="col:isbn" title="Show the books' ISBN in the column">ISBN</a>, <a href="col:formats" title="Show the books' formats in the column">Formats</a>, <a href="col:last_modified" title="Show the date the books' metadata was last modified in the column">Last Modified</a>, <a href="col:yesno">Yes/No</a>, <a href="col:tags">Tags</a>, <a href="col:series">Series</a>
+ Quick create: <a href="col:isbn" title="Show the books' ISBN in the column">ISBN</a>, <a href="col:formats" title="Show the books' formats in the column">Formats</a>, <a href="col:last_modified" title="Show the date the books' metadata was last modified in the column">Last Modified</a>, <a href="col:yesno">Yes/No</a>, <a href="col:tags">Tags</a>, <a href="col:series">Series</a>, <a href="col:rating">Rating</a>
true