]> git.sesse.net Git - vlc/commitdiff
Fix browse feature
authorClément Stenac <zorglub@videolan.org>
Tue, 30 Dec 2003 18:29:26 +0000 (18:29 +0000)
committerClément Stenac <zorglub@videolan.org>
Tue, 30 Dec 2003 18:29:26 +0000 (18:29 +0000)
modules/gui/wxwindows/preferences_widgets.cpp

index b5addbe6fcea81d1a64a5bc3472a6400da2f221b..66f497ce9f3064fe593b1ce4844e4ada6ddab5a2 100644 (file)
@@ -2,7 +2,7 @@
  * preferences_widgets.cpp : wxWindows plugin for vlc
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: preferences_widgets.cpp,v 1.18 2003/12/22 15:42:44 gbazin Exp $
+ * $Id: preferences_widgets.cpp,v 1.19 2003/12/30 18:29:26 zorglub Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *          Sigmund Augdal <sigmunau@idi.ntnu.no>
@@ -523,6 +523,10 @@ void FileConfigControl::OnBrowse( wxCommandEvent& event )
                              wxOPEN | wxSAVE
 #endif
                            );
+        if( dialog.ShowModal() == wxID_OK )
+        {
+            textctrl->SetValue( dialog.GetPath() );
+        }
     }
 }