From e5e17ab699ec00711de95aa5972ff40af4ac4056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 24 Sep 2024 15:51:14 +0200 Subject: [PATCH] Remove shortcut hint in undelete button of One2Many The shortcut is already explained in the help pop-up. --- tryton/tryton/gui/window/view_form/view/form_gtk/one2many.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/tryton/gui/window/view_form/view/form_gtk/one2many.py b/tryton/tryton/gui/window/view_form/view/form_gtk/one2many.py index 487c6691fe..fb5ed79f46 100644 --- a/tryton/tryton/gui/window/view_form/view/form_gtk/one2many.py +++ b/tryton/tryton/gui/window/view_form/view/form_gtk/one2many.py @@ -141,7 +141,7 @@ class One2Many(Widget): hbox.pack_start(self.but_del, expand=False, fill=False, padding=0) self.but_undel = Gtk.Button(can_focus=False) - tooltips.set_tip(self.but_undel, _('Undelete selected record ')) + tooltips.set_tip(self.but_undel, _("Undelete selected record")) self.but_undel.connect('clicked', self._sig_undelete) self.but_undel.add(common.IconFactory.get_image( 'tryton-undo', Gtk.IconSize.SMALL_TOOLBAR))