Skip to content

Commit

Permalink
assign allowProjectFiles to m_allowProjectFiles in c'tor
Browse files Browse the repository at this point in the history
  • Loading branch information
elisunger committed Nov 10, 2021
1 parent 964e0c9 commit 9823d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SIL.Windows.Forms.DblBundle/SelectProjectDlgBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ public abstract class SelectProjectDlgBase : IDisposable
protected abstract string Title { get; }
protected abstract string ProductName { get; }

protected SelectProjectDlgBase(bool allowProjectFiles = true, string defaultFile = null)
protected SelectProjectDlgBase(bool allowProjectFiles, string defaultFile = null)
{
FileName = File.Exists(defaultFile) ? Path.GetFileName(defaultFile) : null;
m_defaultDir = (defaultFile != null ? Path.GetDirectoryName(defaultFile) : DefaultBundleDirectory);

m_allowProjectFiles = allowProjectFiles;
}

protected virtual OpenFileDialog CreateFileDialog()
Expand Down

0 comments on commit 9823d1d

Please sign in to comment.