Improve subtask confirm dialog
This commit is contained in:
parent
df878e947c
commit
de181c2417
1 changed files with 4 additions and 2 deletions
|
@ -916,8 +916,10 @@ Do you want to change the state? (Esc to cancel)",
|
||||||
self.sort(uuid)?;
|
self.sort(uuid)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
if !(self.dialog.confirm("\nDoes this task have subtasks?\n")? &&
|
if !(self.dialog.confirm(format!(
|
||||||
self.make_project(uuid)?)
|
"\nDoes this task have subtasks?\n{}",
|
||||||
|
task_name
|
||||||
|
))? && self.make_project(uuid)?)
|
||||||
{
|
{
|
||||||
if self.cache
|
if self.cache
|
||||||
.get(uuid)
|
.get(uuid)
|
||||||
|
|
Loading…
Reference in a new issue