I don't try to find nice words: This horrible. Do you understand what this code does? Do you really think you need a loop to set the last word of an array to your line edit. Also why are you clearing the edit before setting a new text? With setting a new text, line edit clears itself automatically.
Bookmarks