diff options
Diffstat (limited to 'facetracknoir/new_file_dialog.h')
| -rw-r--r-- | facetracknoir/new_file_dialog.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/facetracknoir/new_file_dialog.h b/facetracknoir/new_file_dialog.h index d72b8741..3a35cf71 100644 --- a/facetracknoir/new_file_dialog.h +++ b/facetracknoir/new_file_dialog.h @@ -36,7 +36,7 @@ private slots:          text = text.replace('\\', "");          if (text != "" && !text.endsWith(".ini"))              text += ".ini"; -        if (text == "" || QFile(options::group::ini_directory() + "/" + text).exists()) +        if (text == "" || text == ".ini" || QFile(options::group::ini_directory() + "/" + text).exists())          {              QMessageBox::warning(this,                                   "File exists", "This file already exists. Pick another name.", | 
