From 10c271ed4e60ec023cfb84164908f16028b371dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 20 Jul 2015 17:56:07 +0700 Subject: [PATCH] Fix reverse typo when setting mnemonic widget of DBCreate Introduced in changeset 815fc36eeeff issue4883 --- tryton/gui/window/dbcreate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/dbcreate.py b/tryton/gui/window/dbcreate.py index 5dd7a89899..1f7617843e 100644 --- a/tryton/gui/window/dbcreate.py +++ b/tryton/gui/window/dbcreate.py @@ -228,7 +228,7 @@ class DBCreate(object): self.entry_dbname.set_max_length(63) self.entry_dbname.set_width_chars(16) self.entry_dbname.set_activates_default(True) - self.entry_dbname.set_mnemonic_widget(label_dbname) + label_dbname.set_mnemonic_widget(self.entry_dbname) table.attach(self.entry_dbname, 1, 3, 5, 6, yoptions=gtk.FILL) self.tooltips.set_tip(self.entry_dbname, _("Choose the name of the new database.\n"