- fix: When adding files to project and there'are duplicates, the warning info is not complete.
This commit is contained in:
parent
fbe051f709
commit
405315bd8e
1
NEWS.md
1
NEWS.md
|
@ -15,6 +15,7 @@ Red Panda C++ Version 2.19
|
|||
- change: Use ctrl+shift+S as the shortcut for "save as".
|
||||
- change: Use ctrl+K,ctrl+S as the shortcut for "save all".
|
||||
- fix: "Run all problem cases" with project is not correctly handled.
|
||||
- fix: When adding files to project and there'are duplicates, the warning info is not complete.
|
||||
|
||||
Red Panda C++ Version 2.18
|
||||
|
||||
|
|
|
@ -1266,7 +1266,7 @@ PProjectUnit Project::internalAddUnit(const QString &inFileName, PProjectModelNo
|
|||
if (fileAlreadyExists(inFileName)) {
|
||||
QMessageBox::critical(nullptr,
|
||||
tr("File Exists"),
|
||||
tr("File '%1' is already in the project"),
|
||||
tr("File '%1' is already in the project").arg(inFileName),
|
||||
QMessageBox::Ok);
|
||||
return PProjectUnit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue