Changeset 23858a7


Ignore:
Timestamp:
05/20/12 23:20:30 (4 years ago)
Author:
sr55 <sr55.hb@…>
Branches:
master
Children:
84c3537
Parents:
fe91119
Message:

WinGui: Allow folders to be dropped on the main window.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4693 b64f7644-9d1e-0410-96f1-a4d463321fa5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs

    ra74a875a r23858a7  
    10501050            {
    10511051                string[] fileNames = e.Data.GetData(DataFormats.FileDrop, true) as string[];
    1052                 if (fileNames != null && fileNames.Any() && File.Exists(fileNames[0]))
     1052                if (fileNames != null && fileNames.Any() && (File.Exists(fileNames[0]) || Directory.Exists(fileNames[0])) )
    10531053                {
    10541054                    this.StartScan(fileNames[0], 0);
Note: See TracChangeset for help on using the changeset viewer.