From 67cc17320f06fb7e18e676154e1b1583be1a7613 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Mon, 28 Jul 2008 00:22:06 -0700 Subject: [PATCH 1/1] We even can show a new dialog after reset the preferences. Complete fix of #1777. --- modules/gui/qt4/dialogs/preferences.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gui/qt4/dialogs/preferences.cpp b/modules/gui/qt4/dialogs/preferences.cpp index a841f70043..142c358aa1 100644 --- a/modules/gui/qt4/dialogs/preferences.cpp +++ b/modules/gui/qt4/dialogs/preferences.cpp @@ -360,5 +360,6 @@ void PrefsDialog::reset() instance = NULL; close(); + PrefsDialog::getInstance( p_intf )->show(); } } -- 2.39.2