Change: Added check for valid communities when creating a community timeline

This commit is contained in:
2024-05-18 16:53:57 -06:00
parent 533f15de55
commit cd7279e83b
2 changed files with 12 additions and 1 deletions

View File

@@ -44,3 +44,6 @@ def cant_update_source() -> wx.MessageDialog:
"""
dlg = wx.MessageDialog(None, _("Sorry, you can't update while running {} from source.").format(application.name), _("Error"), wx.OK)
return dlg.ShowModal()
def invalid_instance():
return wx.MessageDialog(None, _("the provided instance is invalid. Please try again."), _("Invalid instance"), wx.ICON_ERROR).ShowModal()