From 197e649afbde3376e442f9e14090b84405139fb2 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Tue, 20 Apr 2021 09:57:54 -0500 Subject: [PATCH] Fixed a small issue that was making impossible to close the blacklist by pressing escape --- changelog.md | 1 + src/views/dialogs/blacklist.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index d7ffff9..01e6887 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,7 @@ ### bugfixes +* Fixed a small issue that was making impossible to close the blacklist dialog by pressing escape. * Now it is possible to perform authentication in accounts using two factor verification again. This issue was caused due to a recent change in the VK workflow for two factor verification processes. * Users who have chosen to not show their online activity (specifically the last seen field in VK) will be added in people buffers. Before, those people were making socializer to raise an exception and the whole buffer was unable to be loaded. * It is possible to translate texts again, thanks to the Google Translate implementation added in the application. diff --git a/src/views/dialogs/blacklist.py b/src/views/dialogs/blacklist.py index 461ec46..3e086c1 100644 --- a/src/views/dialogs/blacklist.py +++ b/src/views/dialogs/blacklist.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals import wx import widgetUtils @@ -14,7 +13,7 @@ class blacklistDialog(widgetUtils.BaseDialog): sizer.Add(box1, 0, wx.ALL, 5) self.unblock = wx.Button(panel, wx.NewId(), _("Unblock")) sizer.Add(self.unblock, 0, wx.ALL, 5) - close = wx.Button(panel, wx.ID_CLOSE) + close = wx.Button(panel, wx.ID_CANCEL, _("Close")) sizer.Add(close, 0, wx.ALL, 5) panel.SetSizer(sizer) self.SetClientSize(sizer.CalcMin())