diff --git a/src/scripts/runaction/actionmanager.py b/src/scripts/runaction/actionmanager.py index 0f6cf01fd..0d943b217 100644 --- a/src/scripts/runaction/actionmanager.py +++ b/src/scripts/runaction/actionmanager.py @@ -58,7 +58,7 @@ class ActionManager(QtCore.QObject): if action.testAction(cond, url): act = Falkon.Action(action.icon, action.title, self) - act.triggered.connect(lambda a=action, w=webView, u=url, t=text: self.execAction(a, w, u, t)) + act.triggered.connect(lambda checked, a=action, w=webView, u=url, t=text: self.execAction(a, w, u, t)) if action.submenu: if action.submenu not in menus: menu = Falkon.Menu(action.menuTitle, webView) diff --git a/src/scripts/runaction/actions/googleimagesearch.desktop b/src/scripts/runaction/actions/googleimagesearch.desktop index c622726aa..a61e5c60d 100644 --- a/src/scripts/runaction/actions/googleimagesearch.desktop +++ b/src/scripts/runaction/actions/googleimagesearch.desktop @@ -91,4 +91,4 @@ Type=Service X-RunAction-Type="Url" X-RunAction-TypeCondition="Image" X-RunAction-Submenu="search_with" -X-RunAction-Exec="https://www.google.com/searchbyimage?site=search&image_url={url}" +X-RunAction-Exec="https://lens.google.com/uploadbyurl?url={url}" diff --git a/src/scripts/runaction/actions/yandeximagesearch.desktop b/src/scripts/runaction/actions/yandeximagesearch.desktop index e18598fb5..d594544f8 100644 --- a/src/scripts/runaction/actions/yandeximagesearch.desktop +++ b/src/scripts/runaction/actions/yandeximagesearch.desktop @@ -89,4 +89,4 @@ Type=Service X-RunAction-Type="Url" X-RunAction-TypeCondition="Image" X-RunAction-Submenu="search_with" -X-RunAction-Exec="https://yandex.com/images/search?&img_url={url}&rpt=imageview" +X-RunAction-Exec="https://yandex.com/images/search?rpt=imageview&url={url}"