Fix a shortkut

This commit is contained in:
Jesús Pavón Abián
2026-03-03 20:56:37 +01:00
parent 96ac92957d
commit 61cc882fbc

View File

@@ -905,12 +905,13 @@ class Handler:
import output import output
output.speak(_("Failed to delete post.")) output.speak(_("Failed to delete post."))
def search(self, controller, session): def search(self, controller, session, value=""):
"""Open search dialog and create search buffer for results.""" """Open search dialog and create search buffer for results."""
dlg = wx.TextEntryDialog( dlg = wx.TextEntryDialog(
controller.view, controller.view,
_("Enter search term:"), _("Enter search term:"),
_("Search Bluesky") _("Search Bluesky"),
value
) )
if dlg.ShowModal() != wx.ID_OK: if dlg.ShowModal() != wx.ID_OK:
dlg.Destroy() dlg.Destroy()