Skip to content

Commit

Permalink
Updated compile script; keep_on_top popups.
Browse files Browse the repository at this point in the history
  • Loading branch information
MachWheel committed May 11, 2022
1 parent 315ffd0 commit 3dcd7be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion compile/compile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:: First make sure to "pip install -r requirements.txt"
TITLE Easy-Gifer Compiler
ECHO:
ECHO Easy_Gifer Compiler v1
ECHO Easy_Gifer Compiler v2
ECHO:
ECHO PRESS ANY KEY TO START COMPILING
ECHO:
Expand Down
2 changes: 1 addition & 1 deletion compile/compile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ exe = EXE(pyz,
a.zipfiles,
a.datas,
[],
name='Easy-Gifer-v1',
name='Easy-Gifer-v2',
icon='./app.ico',
debug=False,
bootloader_ignore_signals=False,
Expand Down
6 changes: 3 additions & 3 deletions views/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ def PROGRESS_POPUP(bar_end=100):


def INFO_POPUP():
return sg.popup_yes_no(txt.INFO, font=style.F_14, no_titlebar=True)
return sg.popup_yes_no(txt.INFO, font=style.F_14, no_titlebar=True, keep_on_top=True)


def DONE_POPUP():
return sg.popup_ok(txt.DONE, font=style.F_14, no_titlebar=True)
return sg.popup_ok(txt.DONE, font=style.F_14, no_titlebar=True, keep_on_top=True)


def ERROR_POPUP(msg: str):
msg = f"\n{msg}\n"
return sg.popup_error(msg, font=style.F_14)
return sg.popup_error(msg, font=style.F_14, keep_on_top=True)

0 comments on commit 3dcd7be

Please sign in to comment.