From 32563eaa90bc741090a83ee24d9b2ee63ca8d978 Mon Sep 17 00:00:00 2001 From: nikolay Date: Wed, 9 Jul 2014 15:25:57 +0300 Subject: [PATCH] [Summary] Refactoring of OpenFileDialog on OS Windows [Review] Nobody --- gtk2_ardour/ardour_ui.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 8d5e638a8c..2919aef856 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -1589,11 +1589,11 @@ ARDOUR_UI::open_session () #ifdef _WIN32 // Open the file save dialog, and choose the file name -// string fileName; -// if (open_file_dialog(fileName, Config->get_default_open_path(), _("Select Saved Session"))) { -// -// session_path = fileName; -// } + string fileName; + if (open_file_dialog(fileName, Config->get_default_open_path(), _("Select Saved Session"))) { + + session_path = fileName; + } #endif // cancel was pressed