From aea0e8f8781b4dc8c7eb829c5f36c22e3ab4fdbe Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Tue, 20 Oct 2026 17:51:55 -0700 Subject: [PATCH] Fixes --- .gitignore | 3 ++- GDUtils.py | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 496ee2c..aaab5ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.DS_Store \ No newline at end of file +.DS_Store +build/ \ No newline at end of file diff --git a/GDUtils.py b/GDUtils.py index cb0b910..c768121 100644 --- a/GDUtils.py +++ b/GDUtils.py @@ -134,9 +134,9 @@ class MainWindow(QMainWindow): gdLvlGDShareLabel = QLabel("GDLVL/GDShare") self.convertToGdLvl = QPushButton("Convert to GDLVL") - self.convertToGdLvl.clicked.connect(self.on_convert_to_gdlvl_click) + self.convertToGdLvl.clicked.connect(self.on_convert_from_gmd_click) self.convertToGmd = QPushButton("Convert to GMD") - self.convertToGmd.clicked.connect(self.on_convert_to_gmd_click) + self.convertToGmd.clicked.connect(self.on_convert_from_gdlvl_click) gdLvlGDShareButtons = QHBoxLayout() gdLvlGDShareButtons.addStretch() @@ -263,7 +263,7 @@ class MainWindow(QMainWindow): msg.setText("The encoded level data has been copied to your clipboard") msg.exec() - def on_convert_to_gdlvl_click(self): + def on_convert_from_gdlvl_click(self): file_path, _ = QFileDialog.getOpenFileName( self, "Select a GDLVL file", @@ -288,7 +288,7 @@ class MainWindow(QMainWindow): with open(output_file_path, "w") as f: f.write(decode_level(data, False)) - def on_convert_to_gmd_click(self): + def on_convert_from_gmd_click(self): file_path, _ = QFileDialog.getOpenFileName( self, "Select a GMD file",