Removed setting.

This commit is contained in:
pkill9 2017-03-12 16:48:57 +00:00
parent 87c4c143bf
commit b1771a13c9
2 changed files with 1 additions and 6 deletions

View File

@ -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
)),

View File

@ -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()