Skip to content

Commit d667561

Browse files
TarasSydorravic-rs
authored andcommitted
update remove question text
1 parent 1a67bfd commit d667561

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ProjNavigator/sources_form.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,11 @@ void SourcesForm::SlotRemoveFile() {
296296
strFileName.remove(SRC_TREE_FLG_TOP);
297297
auto fileSet = item->data(0, SetFileDataRole);
298298
if (!fileSet.isNull()) {
299-
auto questionStr = tr("Should %1 file be removed?").arg(strFileName);
299+
auto questionStr =
300+
tr("Are you sure you want to remote %1 from the project? \n\nThe file "
301+
"will not be removed from the disk. It can be added back to the "
302+
"project afterwards.")
303+
.arg(strFileName);
300304
if (QMessageBox::question(this, tr("Remove file"), questionStr) ==
301305
QMessageBox::No)
302306
return;

0 commit comments

Comments
 (0)