GUI: Add path separator for ignore dirs.

This commit is contained in:
Kimmo Varis 2011-02-28 16:24:18 +02:00
parent ae11b064c8
commit 819dddf570
1 changed files with 2 additions and 0 deletions

View File

@ -238,6 +238,8 @@ void ProjectFileDialog::AddIgnorePath()
if (!selectedDir.isEmpty()) if (!selectedDir.isEmpty())
{ {
if (!selectedDir.endsWith('/'))
selectedDir += '/';
AddIgnorePath(selectedDir); AddIgnorePath(selectedDir);
} }
} }