Removed setting.
This commit is contained in:
parent
87c4c143bf
commit
b1771a13c9
@ -407,10 +407,6 @@ def data(readonly=False):
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Show a filebrowser in upload/download prompts."),
|
||||
|
||||
('clear-messages-on-click',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether to clear message notifications when they are clicked."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
|
@ -132,6 +132,5 @@ class MessageView(QWidget):
|
||||
self.update_geometry.emit()
|
||||
|
||||
def mousePressEvent(self, e):
|
||||
if (config.get('ui', 'clear-messages-on-click') and
|
||||
e.button() in [Qt.LeftButton, Qt.RightButton]):
|
||||
if e.button() in [Qt.LeftButton, Qt.RightButton]:
|
||||
self.clear_messages()
|
||||
|
Loading…
Reference in New Issue
Block a user