Connected the new settings to the Preferences dialog

This commit is contained in:
Veronica K. B. Olsen
2020-10-11 20:13:39 +02:00
parent fa55983f3a
commit ae8ec555fd
7 changed files with 84 additions and 2 deletions
+5
View File
@@ -236,8 +236,13 @@ class GuiOutlineDetails(QScrollArea):
# Scroll bars
if self.mainConf.hideVScroll:
self.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
else:
self.setVerticalScrollBarPolicy(Qt.ScrollBarAsNeeded)
if self.mainConf.hideHScroll:
self.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
else:
self.setHorizontalScrollBarPolicy(Qt.ScrollBarAsNeeded)
return