Changeset 424

User picture

Author: Pilus

(2011/09/28 22:41) 8 months ago

Item Menu works again

Affected files

Updated .idea/misc.xml Download diff

423424
3
  <component name="DependencyValidationManager">
3
  <component name="DependencyValidationManager">
4
    <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
    <option name="SKIP_IMPORT_STATEMENTS" value="false" />
5
  </component>
5
  </component>
6
  <component name="Git.Settings">
7
    <option name="CHECKOUT_INCLUDE_TAGS" value="false" />
8
    <option name="UPDATE_CHANGES_POLICY" value="STASH" />
9
  </component>
10
  <component name="JavadocGenerationManager">
6
  <component name="JavadocGenerationManager">
11
    <option name="OUTPUT_DIRECTORY" />
7
    <option name="OUTPUT_DIRECTORY" />
12
    <option name="OPTION_SCOPE" value="protected" />
8
    <option name="OPTION_SCOPE" value="protected" />

Updated GHI/UI/GHI_ContainerUI.lua Download diff

423424
36
36
37
local function SetUpContainerMenuButtons()
37
local function SetUpContainerMenuButtons()
38
	local buttonInfo = {
38
	local buttonInfo = {
39
		 {x = 45, y = -28, text = GHI_NEW_1LETTER, name="new", tooltip = GHI_NEW, click = api.GHI_NewSimpleItem,},
39
		 {x = 45, y = -28, text = GHI_NEW_1LETTER, name="new", tooltip = GHI_NEW, click = api.GHI_NewItem,},
40
		 {x = 67, y = -28, text = GHI_EDIT_1LETTER, tooltip = GHI_EDIT, click = function()
40
		 {x = 67, y = -28, text = GHI_EDIT_1LETTER, tooltip = GHI_EDIT, click = function()
41
			 miscApi.GHI_SetSelectItemCursor(function(guid)
41
			 miscApi.GHI_SetSelectItemCursor(function(guid)
42
				 api.GHI_EditItem(guid);
42
				 api.GHI_EditItem(guid);