bugfix: Previous implementation set_script_timeout() was causing the script wait dialog box to open and never close upon the invocation of callbacks (add_menu_item callback or other callbacks) that take longer than the timeout value.

This commit is contained in:
elias.bachaalany
2011-05-09 10:29:08 +00:00
parent 7179b2c654
commit a52b90c771
3 changed files with 38 additions and 15 deletions

View File

@ -2911,7 +2911,7 @@ def AskAddr(defval, prompt):
"""
Ask the user to enter an address
@param defval: the default address value. This value
@param defval: a string designating the default address value. This value
will appear in the dialog box.
@param prompt: the prompt to display in the dialog box
@ -2924,7 +2924,7 @@ def AskLong(defval, prompt):
"""
Ask the user to enter a number
@param defval: the default value. This value
@param defval: a number designating the default value. This value
will appear in the dialog box.
@param prompt: the prompt to display in the dialog box