Skip to content

Commit

Permalink
NOW URLS DIALOGS CLOSE WHEN YOU ENTERING IN AN ULR
Browse files Browse the repository at this point in the history
  • Loading branch information
metalalchemist committed Aug 9, 2024
1 parent 295f819 commit e9270f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion VeTube.py
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,7 @@ def recibirTwich(self):
exit()
self.hilo2.join()
if self.dst: message['message'] = translator.translate(text=message['message'], target=self.dst)
print(message)
self.agregarUsuario(message['author']['name'])
if message['message_type']=='resubscription' and config['eventos'][1]:
if config['categorias'][1]:
Expand Down Expand Up @@ -1451,7 +1452,7 @@ def listaUrls(self,event):
for i in range(len(urls)): list_urls.InsertItem(i, urls[i])
list_urls.Focus(0)
list_urls.SetFocus()
list_urls.Bind(wx.EVT_LIST_ITEM_ACTIVATED, lambda event: wx.LaunchDefaultBrowser(list_urls.GetItem(list_urls.GetFocusedItem(), 0).GetText()))
list_urls.Bind(wx.EVT_LIST_ITEM_ACTIVATED, lambda event: (wx.LaunchDefaultBrowser(list_urls.GetItem(list_urls.GetFocusedItem(), 0).GetText()), dialog_urls.Destroy()))
sizer_urls.Add(list_urls)
button_cerrar = wx.Button(dialog_urls, wx.ID_CANCEL, _("&Cerrar"))
sizer_urls.Add(button_cerrar)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ wxPython
sounddevice
git+https://github.com/isaackogan/TikTokLive
pyperclip
chat_downloader
git+https://github.com/stream-gizmos/chat-downloader/tree/fixed-master
git+https://github.com/metalalchemist/google-currency
git+https://github.com/accessibleapps/accessible_output2
git+https://github.com/accessibleapps/platform_utils
Expand Down

0 comments on commit e9270f0

Please sign in to comment.