From 9a74b781629541289dd32cd257663ead018cab98 Mon Sep 17 00:00:00 2001 From: Josh b Date: Sun, 6 Nov 2022 18:57:53 -0800 Subject: [PATCH] Bug? --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 221bfe3..a328fe0 100644 --- a/main.py +++ b/main.py @@ -3,6 +3,7 @@ from copy import deepcopy import PySimpleGUI as sg from tinydb import TinyDB, Query +from logo_source import COMPUTER_KEEPER_LOGO TABLE=None WINDOW=None @@ -72,7 +73,7 @@ def main(): db= TinyDB("./db.json") computer = format_table(db.all()) # Create the window - window = sg.Window('Computer Keeper', layout, finalize=True) + window = sg.Window('Computer Keeper', layout, finalize=True, use_custom_titlebar=True, titlebar_icon=COMPUTER_KEEPER_LOGO) WINDOW=window window["table"].update(computer) table = window['table'].Widget