Pay attention to the other optional value for the scrollbar_position when reconfiguring a Terminal
This commit is contained in:
parent
df992c284e
commit
e9e1101d26
|
@ -607,7 +607,7 @@ for %s (%s)' % (name, urlplugin.__class__.__name__))
|
||||||
|
|
||||||
if self.scrollbar_position != self.config['scrollbar_position']:
|
if self.scrollbar_position != self.config['scrollbar_position']:
|
||||||
self.scrollbar_position = self.config['scrollbar_position']
|
self.scrollbar_position = self.config['scrollbar_position']
|
||||||
if self.config['scrollbar_position'] == 'disabled':
|
if self.config['scrollbar_position'] in ['disabled', 'hidden']:
|
||||||
self.scrollbar.hide()
|
self.scrollbar.hide()
|
||||||
else:
|
else:
|
||||||
self.scrollbar.show()
|
self.scrollbar.show()
|
||||||
|
|
Loading…
Reference in New Issue