Skip to content

Commit

Permalink
🚑 Removing a print leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
AssisrMatheus committed Sep 18, 2019
1 parent 1eebb54 commit 1013764
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion TodoChecklister.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: TodoChecklister
## Author: Matheus Assis Rios (github.com/AssisrMatheus)
## Notes: I have bad memory so I made this. A todolist/checklist AddOn for World of Warcraft.
## Version: 1.1.4
## Version: 1.1.5
## DefaultState: enabled
## SavedVariables: TodoChecklisterDB, TodoChecklisterMapIcon

Expand Down
2 changes: 0 additions & 2 deletions components/TodoChecklister.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ local TableUtils = core.TableUtils
function TodoChecklisterFrame:AddItem(text)
if(text ~= "" and text ~= nil and text) then
-- If the item is not selected

print(self.selectedItem)
if(self.selectedItem == nil or self.selectedItem == 0) then
-- Adds
table.insert(TodoChecklisterDB, #TodoChecklisterDB+1, { text=text, isChecked=false })
Expand Down

0 comments on commit 1013764

Please sign in to comment.