Bug?
All checks were successful
Potlatch Loggers Organization/ComputerKeeper/pipeline/head This commit looks good
All checks were successful
Potlatch Loggers Organization/ComputerKeeper/pipeline/head This commit looks good
This commit is contained in:
parent
41668d68b1
commit
9a74b78162
3
main.py
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user