| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fb57e95 commit 5e5b51c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -41,6 +41,7 @@ | |||
| 41 | 41 | green8 = '#008080' | |
| 42 | 42 | green4 = '#004040' | |
| 43 | 43 | ||
| 44 | + cell_window_mantainer=None | ||
| 44 | 45 | ||
| 45 | 46 | def extents(f): | |
| 46 | 47 | ''' adjusts axis markers for heatmap ''' | |
@@ -251,7 +252,12 @@ def initialize_widget_disability_checks(_width, _height, gridmdp, terminals, lab | |||
| 251 | 252 | def dialogbox(i, j, gridmdp, terminals, buttons, _height): | |
| 252 | 253 | ''' creates dialogbox for each cell ''' | |
| 253 | 254 | ||
| 255 | + global cell_window_mantainer | ||
| 256 | + if(cell_window_mantainer!=None): | ||
| 257 | + cell_window_mantainer.destroy() | ||
| 258 | + | ||
| 254 | 259 | dialog = tk.Toplevel() | |
| 260 | + cell_window_mantainer=dialog | ||
| 255 | 261 | dialog.wm_title(f'{_height - i - 1}, {j}') | |
| 256 | 262 | ||
| 257 | 263 | container = tk.Frame(dialog) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments