Refactored Projects pane - changed into a type

This commit is contained in:
Anis Ahmad
2020-06-09 03:43:18 +06:00
parent a6af1a617a
commit 3cc13ed445
5 changed files with 149 additions and 103 deletions

View File

@@ -31,7 +31,7 @@ func prepareTaskPane() {
return
}
task, err := taskRepo.Create(*currentProject, newTask.GetText(), "", "", 0)
task, err := taskRepo.Create(*projectPane.activeProject, newTask.GetText(), "", "", 0)
if err != nil {
statusBar.showForSeconds("[red::]Could not create Task:"+err.Error(), 5)
}