diff --git a/src/Gui/DlgSettingsDocument.ui b/src/Gui/DlgSettingsDocument.ui
index aec7ef61d5..4c232526bf 100644
--- a/src/Gui/DlgSettingsDocument.ui
+++ b/src/Gui/DlgSettingsDocument.ui
@@ -356,7 +356,79 @@ automatically run a file recovery when it is started.
+ -
+
+
+ 5
+
+
+ 6
+
+
-
+
+
+ Size of thumbnail
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+ QSizePolicy::Maximum
+
+
+
+ 91
+ 20
+
+
+
+
+ -
+
+
+ Sets the size of the thumbnail that is stored in the document.
+Common sizes are 128, 256 and 512
+
+
+ 64
+
+
+ 512
+
+
+ ThumbnailSize
+
+
+ Document
+
+
+
+
+
-
+
+
+ The program logo will be added to the thumbnail
+
+
+ Add the program logo to the generated thumbnail
+
+
+ true
+
+
+ AddThumbnailLogo
+
+
+ Document
+
+
+
+ -
6
@@ -423,7 +495,7 @@ automatically run a file recovery when it is started.
- -
+
-
6
@@ -479,25 +551,6 @@ get date suffix according to the specified format
- -
-
-
- The program logo will be added to the thumbnail
-
-
- Add the program logo to the generated thumbnail
-
-
- true
-
-
- AddThumbnailLogo
-
-
- Document
-
-
-
diff --git a/src/Gui/DlgSettingsDocumentImp.cpp b/src/Gui/DlgSettingsDocumentImp.cpp
index 4a463f8df4..2a5fe4a4fc 100644
--- a/src/Gui/DlgSettingsDocumentImp.cpp
+++ b/src/Gui/DlgSettingsDocumentImp.cpp
@@ -77,6 +77,7 @@ void DlgSettingsDocumentImp::saveSettings()
ui->prefSaveTransaction->onSave();
ui->prefDiscardTransaction->onSave();
ui->prefSaveThumbnail->onSave();
+ ui->prefThumbnailSize->onSave();
ui->prefAddLogo->onSave();
ui->prefSaveBackupFiles->onSave();
ui->prefCountBackupFiles->onSave();
@@ -110,6 +111,7 @@ void DlgSettingsDocumentImp::loadSettings()
ui->prefSaveTransaction->onRestore();
ui->prefDiscardTransaction->onRestore();
ui->prefSaveThumbnail->onRestore();
+ ui->prefThumbnailSize->onRestore();
ui->prefAddLogo->onRestore();
ui->prefSaveBackupFiles->onRestore();
ui->prefCountBackupFiles->onRestore();