Skip to content

Commit

Permalink
Version 1.5.1 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVG207 authored Jun 5, 2023
2 parents 9362ab4 + 53fcbf6 commit 4b32d52
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions umalauncher/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,7 @@ def init_ui(self, settings, *args, **kwargs):
self.lbl_about.setSizePolicy(sizePolicy)
self.lbl_about.setLayoutDirection(qtc.Qt.LeftToRight)
self.lbl_about.setText(u"<html><head/><body><p>Created by KevinVG207<br/><a href=\"https://github.com/KevinVG207/UmaLauncher\"><span style=\" text-decoration: underline; color:#0000ff;\">Github</span></a> - <a href=\"https://umapyoi.net/uma-launcher\"><span style=\" text-decoration: underline; color:#0000ff;\">Website</span></a> - <a href=\"https://twitter.com/kevinvg207\"><span style=\" text-decoration: underline; color:#0000ff;\">Twitter</span></a></p></body></html>")
self.lbl_about.setOpenExternalLinks(True)
self.lbl_about.setAlignment(qtc.Qt.AlignCenter)

self.verticalLayout.addWidget(self.lbl_about)
Expand Down
8 changes: 4 additions & 4 deletions umalauncher/training_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,17 +781,17 @@ def training_csv_dialog(training_paths=None):
except util.pywinerror as e:
if e.winerror == 12291:
# Ran out of buffer space
util.show_error_box("Error", "Too many files selected. / File names too long.")
util.show_warning_box("Error", "Too many files selected. / File names too long.")
return
# os.chdir(cwd_before)
util.show_error_box("Error", "No file(s) selected.")
util.show_warning_box("Error", "No file(s) selected.")
return

# Check if all files end with .gz
# If not, show error message
for training_path in training_paths:
if not training_path.endswith(".gz"):
util.show_error_box("Error", "All chosen files must be .gz (gzip) files.")
util.show_warning_box("Error", "All chosen files must be .gz (gzip) files.")
return

try:
Expand All @@ -807,7 +807,7 @@ def training_csv_dialog(training_paths=None):

except util.pywinerror:
# os.chdir(cwd_before)
util.show_error_box("Error", "No output file given.")
util.show_warning_box("Error", "No output file given.")
return

# os.chdir(cwd_before)
Expand Down
2 changes: 1 addition & 1 deletion umalauncher/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import util
import gui

VERSION = "1.5.0"
VERSION = "1.5.1"

def parse_version(version_string: str):
"""Convert version string to tuple."""
Expand Down

0 comments on commit 4b32d52

Please sign in to comment.