Fixed a small issue that was making impossible to close the blacklist by pressing escape

This commit is contained in:
Manuel Cortez 2021-04-20 09:57:54 -05:00
parent 1f575f0311
commit 197e649afb
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

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