summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/__init__.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-06-27 12:02:54 +0200
committeremkael <emkael@tlen.pl>2019-06-27 12:02:54 +0200
commitad761be1a1bfed57ba1d91ce39819f0e49821240 (patch)
treee20a6c0a37be378230a2c2728b0149de8579a354 /jfr_playoff/gui/__init__.py
parent60e43433bffcbd410829f4c4baa508b78fe288b8 (diff)
Visual setting tab value setting
Diffstat (limited to 'jfr_playoff/gui/__init__.py')
-rw-r--r--jfr_playoff/gui/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jfr_playoff/gui/__init__.py b/jfr_playoff/gui/__init__.py
index 4b1441b..bf81285 100644
--- a/jfr_playoff/gui/__init__.py
+++ b/jfr_playoff/gui/__init__.py
@@ -1,3 +1,5 @@
+import json
+
import tkinter as tk
from tkinter import ttk
@@ -26,7 +28,7 @@ class PlayoffGUI(tk.Tk):
tab.setValues(config)
def _resetValues(self):
- self._setValues({})
+ self._setValues(json.load(open('../pzbs-liga-playoff/eklasa.json')))
def newFile(self):
self.newFileIndex += 1