From f649e3bd27956ed5489d9bac95ac799023caaa51 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sun, 24 Aug 2008 11:50:34 -0700 Subject: [PATCH] Fix previous commit logic... Copy/Paste error. --- modules/gui/qt4/components/open_panels.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index 21e18a454c..9d922acf55 100644 --- a/modules/gui/qt4/components/open_panels.cpp +++ b/modules/gui/qt4/components/open_panels.cpp @@ -191,12 +191,12 @@ void FileOpenPanel::accept() void FileOpenBox::accept() { - OpenDialog::getInstance( NULL, NULL, true )->cancel(); + OpenDialog::getInstance( NULL, NULL, true )->selectSlots(); } void FileOpenBox::reject() { - OpenDialog::getInstance( NULL, NULL, true )->selectSlots(); + OpenDialog::getInstance( NULL, NULL, true )->cancel(); } /* Function called by Open Dialog when clicked on cancel */ -- 2.11.4.GIT