mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2026-03-06 01:17:32 +01:00
Fix a shortkut
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user