Merge pull request #443 from Vulcalien/master

Bug Fix: 'Clear selection on copy' is always unchecked
This commit is contained in:
Matt Rose 2021-06-03 12:57:46 -04:00 committed by GitHub
commit f4a3c4e3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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')