1
0
Fork 0

Improve subtask confirm dialog

This commit is contained in:
Malte Brandy 2018-07-24 21:27:56 +02:00
parent df878e947c
commit de181c2417
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -916,8 +916,10 @@ Do you want to change the state? (Esc to cancel)",
self.sort(uuid)?;
}
if !(self.dialog.confirm("\nDoes this task have subtasks?\n")? &&
self.make_project(uuid)?)
if !(self.dialog.confirm(format!(
"\nDoes this task have subtasks?\n{}",
task_name
))? && self.make_project(uuid)?)
{
if self.cache
.get(uuid)