Skip to content

Commit

Permalink
Fix radiogroup subwindows
Browse files Browse the repository at this point in the history
  • Loading branch information
ZarestiaDev committed Mar 21, 2023
1 parent 7d2f6d9 commit e7bc3d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
7 changes: 0 additions & 7 deletions campaign/record_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
<class>item_history</class>
</subwindow_record>

<scrollbar_record>
<target>abilities</target>
</scrollbar_record>
<scrollbar_record>
<target>histroy</target>
</scrollbar_record>

<frame_record_lower name="controlframe" />
<radio_record_itemtype name="itemtype" />
</sheetdata>
Expand Down
6 changes: 3 additions & 3 deletions campaign/scripts/item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ function typeChanged()
local sType = DB.getValue(getDatabaseNode(), "itemtype", "");

if sType == "Abilities" then
main.setVisible(false);
content.setVisible(false);
abilities.setVisible(true);
history.setVisible(false);
elseif sType == "History" then
main.setVisible(false);
content.setVisible(false);
abilities.setVisible(false);
history.setVisible(true);
else
main.setVisible(true);
content.setVisible(true);
abilities.setVisible(false);
history.setVisible(false);
end
Expand Down
4 changes: 2 additions & 2 deletions extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<root version="3.0">
<properties>
<name>Feature: Legacy Items</name>
<version>1.1</version>
<version>1.2</version>
<author>Zarestia</author>
<description>Implementation for Items of Legacy</description>
<ruleset>
Expand All @@ -15,7 +15,7 @@
<loadorder>50</loadorder>
</properties>

<announcement text="Legacy Items v1.1-hotfix1 by Zarestia" font="emotefont" />
<announcement text="Legacy Items v1.2 by Zarestia" font="emotefont" />

<base>
<!-- Strings -->
Expand Down

0 comments on commit e7bc3d0

Please sign in to comment.