mirror of https://github.com/python/cpython.git
Add optional 'force' argument (default 0) to load_dict().
If set, redo the display even if it's the same dict.
This commit is contained in:
parent
0e5088fcc4
commit
105b9c7de4
|
@ -220,8 +220,8 @@ def __init__(self, master, title, dict=None):
|
|||
|
||||
dict = -1
|
||||
|
||||
def load_dict(self, dict):
|
||||
if dict is self.dict:
|
||||
def load_dict(self, dict, force=0):
|
||||
if dict is self.dict and not force:
|
||||
return
|
||||
subframe = self.subframe
|
||||
frame = self.frame
|
||||
|
|
Loading…
Reference in New Issue