Bug Fix: 'Clear selection on copy' is always unchecked

This commit is contained in:
Vulcalien 2021-06-02 16:31:48 +02:00
parent 013336191e
commit f65770d982
2 changed files with 4 additions and 1 deletions

View File

@ -790,7 +790,7 @@
</packing>
</child>
<child>
<object class="GtkCheckButton">
<object class="GtkCheckButton" id="clear_select_on_copy">
<property name="label" translatable="yes">Clear selection on copy</property>
<property name="visible">True</property>
<property name="can_focus">True</property>

View File

@ -353,6 +353,9 @@ class PrefsEditor:
# Smart copy
widget = guiget('smart_copy')
widget.set_active(self.config['smart_copy'])
# Clear selection on copy
widget = guiget('clear_select_on_copy')
widget.set_active(self.config['clear_select_on_copy'])
#Titlebar font selector
# Use system font
widget = guiget('title_system_font_checkbutton')