Fix listing actionlists. Got broken after the new SmartScriptListView class. Pretty big overhaul to the codebase...
Fix an issue where generating comments would often cause an exception because of 'Single' returning several results
Fix an issue where the Show Basic Information would be ignored when actionlists were shown
Re-select the last selected item after checking or unchecking the 'List actionlists/entries too'
Get rid of an error which makes no difference after all and causes weird issues
When deleting a row, re-select the last selected index (or -1 if it doesnt exist anymore) instead of always the first row
When creating a revert query we now print entryorguids of all entries in the listview. So for example if actionlists are listed as well as entries for 33303 and 3330300, we would call it [Creature] [33303 - 3330300] etc.
When de-selecting the 'List actionlists too', we now properly get rid of the actionlists
When generating SQL we now order the sql by entryorguid first
Start using the SmartScriptListView in the SelectSmartScriptForm as well
Fix an exception thrown when no items are in the listview when HandleBasicInfo is called
Also start using the SmartScriptListView class in the SearchForLinkForm instead of the ordinary ListView class
Slightly speed up the process of adding smartscripts to the listview
When adding a new line, the listview now automatically scrolls to this new line as well
Disable the New Line button when a new line is being added and re-enable it when it's done. Fixes an issue where spamming the button would result in skipped id's
Move the menu item to underneat the seperator so it's with 'Exit'
Rename a setting to make more sense
When adding a new line to your script, the actual new line will now be selected instead of the last item on the listview
Reduce the size of the revert queries by not using any linebreaks. They are not made to be readable anyway.
Always enable the Revert Query menu item, even if the setting is disabled. Should not be a limitation just because you don't want to generate revert queries at the given moment.