From 353a8f7bb34ebf4409b1f4588b273a10efb472f6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Mon, 1 Sep 2008 21:40:22 -0400 Subject: [PATCH] Qt bugfix: pressing Enter Key in preferences dialog should save prefs --- modules/gui/qt4/dialogs/preferences.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gui/qt4/dialogs/preferences.hpp b/modules/gui/qt4/dialogs/preferences.hpp index 634df78b46..b451851224 100644 --- a/modules/gui/qt4/dialogs/preferences.hpp +++ b/modules/gui/qt4/dialogs/preferences.hpp @@ -91,6 +91,7 @@ private slots: void save(); void cancel(); void reset(); + void close() { save(); }; }; #endif -- 2.39.2