Capitalize func changed; remove proj fixed
This commit is contained in:
parent
2580d57372
commit
ac4cf4849a
|
|
@ -111,10 +111,14 @@ Uppercase(String)
|
||||||
return String
|
return String
|
||||||
}
|
}
|
||||||
|
|
||||||
Capitalize(String)
|
Capitalize(W)
|
||||||
{
|
{
|
||||||
StringUpper, String, String, T
|
;StringUpper, String, String, T
|
||||||
return String
|
;return String
|
||||||
|
Initial := SubStr(W, 1, 1)
|
||||||
|
StringUpper, Initial, Initial
|
||||||
|
StringTrimLeft, W, W, 1
|
||||||
|
return Initial . W
|
||||||
}
|
}
|
||||||
|
|
||||||
SafeQuote(string) ; Escape single quotes for sql update. Insert doesn't seem to need it because the DB library handles it.
|
SafeQuote(string) ; Escape single quotes for sql update. Insert doesn't seem to need it because the DB library handles it.
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ else
|
||||||
RemoveProjectYes:
|
RemoveProjectYes:
|
||||||
Gui, RemoveProject:Submit, NoHide
|
Gui, RemoveProject:Submit, NoHide
|
||||||
db.Query("DELETE FROM projects WHERE id = " SelectedProjectID )
|
db.Query("DELETE FROM projects WHERE id = " SelectedProjectID )
|
||||||
|
db.Query("DELETE FROM skills WHERE projectID = " . SelectedProjectID)
|
||||||
GuiChildClose("RemoveProject")
|
GuiChildClose("RemoveProject")
|
||||||
RefreshSkillsList(FilterSkillSelected)
|
RefreshSkillsList(FilterSkillSelected)
|
||||||
gosub FilterUpdate
|
gosub FilterUpdate
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user