Improve Inboxdialog
This commit is contained in:
parent
ab34600ff6
commit
ce3dd5c5f1
1 changed files with 5 additions and 2 deletions
|
@ -869,7 +869,7 @@ Do you want to change the state? (Esc to cancel)",
|
||||||
)?);
|
)?);
|
||||||
match self.dialog.select_option(
|
match self.dialog.select_option(
|
||||||
format!(
|
format!(
|
||||||
"Handling Task: {}\nCan this be done in under 2 minutes?",
|
"New task in inbox\nCan this be done in under 2 minutes?\n{}",
|
||||||
task_name
|
task_name
|
||||||
),
|
),
|
||||||
vec![
|
vec![
|
||||||
|
@ -913,7 +913,10 @@ Do you want to change the state? (Esc to cancel)",
|
||||||
if needs_sorting(self.cache.get(uuid).chain_err(|| "unknown task")?) {
|
if needs_sorting(self.cache.get(uuid).chain_err(|| "unknown task")?) {
|
||||||
self.sort(uuid)?;
|
self.sort(uuid)?;
|
||||||
}
|
}
|
||||||
if !self.make_project(uuid)? {
|
|
||||||
|
if !(self.dialog.confirm("\nDoes this task have subtasks?\n")? &&
|
||||||
|
self.make_project(uuid)?)
|
||||||
|
{
|
||||||
if self.cache
|
if self.cache
|
||||||
.get(uuid)
|
.get(uuid)
|
||||||
.chain_err(|| "missing uuid")?
|
.chain_err(|| "missing uuid")?
|
||||||
|
|
Loading…
Reference in a new issue