From 15be616d5a758f1ea05e5947ddf93dd069fe3ca9 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 21 Nov 2007 16:11:52 +0000 Subject: [PATCH] Save string from dialog --- src/SUIT/SUIT_FileDlg.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/SUIT/SUIT_FileDlg.cxx b/src/SUIT/SUIT_FileDlg.cxx index 8dc7fd64c..6bebf3c9c 100755 --- a/src/SUIT/SUIT_FileDlg.cxx +++ b/src/SUIT/SUIT_FileDlg.cxx @@ -272,6 +272,13 @@ void SUIT_FileDlg::accept() if ( acceptData() ) { + // NDS: needs to fill string mySelected file + QString fn; + QStringList lst = QFileDialog::selectedFiles(); + if ( !lst.isEmpty() ) + fn = lst.first(); + mySelectedFile = fn; + // end NDS myLastVisitedPath = directory().path(); QFileDialog::accept(); // myAccepted = true; -- 2.39.2