--- a/Preferences/ConfigurationPages/EditorFilePage.ui Sat Feb 03 10:45:52 2018 +0100 +++ b/Preferences/ConfigurationPages/EditorFilePage.ui Sat Feb 03 16:15:24 2018 +0100 @@ -10,7 +10,7 @@ <height>1622</height> </rect> </property> - <layout class="QVBoxLayout" name="verticalLayout_3"> + <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> @@ -173,7 +173,17 @@ <property name="title"> <string>Save</string> </property> - <layout class="QVBoxLayout" name="verticalLayout_4"> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QCheckBox" name="insertFinalNewlineCheckBox"> + <property name="toolTip"> + <string>Select to insert a final newline if none is there</string> + </property> + <property name="text"> + <string>Insert final newline upon save</string> + </property> + </widget> + </item> <item> <widget class="QCheckBox" name="stripWhitespaceCheckBox"> <property name="toolTip"> @@ -632,6 +642,7 @@ <tabstop>crRadioButton</tabstop> <tabstop>crlfRadioButton</tabstop> <tabstop>automaticEolConversionCheckBox</tabstop> + <tabstop>insertFinalNewlineCheckBox</tabstop> <tabstop>stripWhitespaceCheckBox</tabstop> <tabstop>createBackupFileCheckBox</tabstop> <tabstop>autosaveSlider</tabstop>