Skip to content

Commit

Permalink
small mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Apr 7, 2024
1 parent 7b619ec commit 50f4630
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion fast64_internal/sm64/settings/panels.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class SM64_GeneralSettingsPanel(SM64_Panel):
def draw(self, context: Context):
col = self.layout.column()
sm64_props = context.scene.fast64.sm64
sm64_props = context.scene.fast64.sm64

if sm64_props.export_type == "C":
# If the repo settings tab is open, we pass show_repo_settings as False
Expand Down
4 changes: 2 additions & 2 deletions fast64_internal/sm64/settings/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def draw_props(self, layout: UILayout, show_repo_settings: bool = True):
try:
export_rom_checks(abspath(self.export_rom))
except Exception as e:
multilineLabel(layout.box(), str(e), "ERROR")
multilineLabel(col.box(), str(e), "ERROR")
col.prop(self, "output_rom")
col.prop(self, "extend_bank_4")
elif not self.is_binary_export():
Expand All @@ -165,7 +165,7 @@ def draw_props(self, layout: UILayout, show_repo_settings: bool = True):
try:
import_rom_checks(abspath(self.import_rom))
except Exception as e:
multilineLabel(layout.box(), str(e), "ERROR")
multilineLabel(col.box(), str(e), "ERROR")


classes = (SM64_Properties,)
Expand Down

0 comments on commit 50f4630

Please sign in to comment.