Commit ae43b1fa authored by tobias.dussa's avatar tobias.dussa

Added missing getresult() routine.

parent 36b22493
...@@ -46,6 +46,9 @@ class _QueryPassword(_QueryPasswordDialog): ...@@ -46,6 +46,9 @@ class _QueryPassword(_QueryPasswordDialog):
entry.configure(show=self.__show) entry.configure(show=self.__show)
return entry return entry
def getresult(self):
return self.entry.get()
def askpassword(title, prompt, **kw): def askpassword(title, prompt, **kw):
d = _QueryPassword(title, prompt, **kw) d = _QueryPassword(title, prompt, **kw)
return d.result return d.result
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment