fixed logic that decides if a dialog should be shown or not.

2007-12-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (_run): fixed logic that decides if 
a
	dialog should be shown or not.


svn path=/trunk/; revision=24300
This commit is contained in:
Sven Neumann 2007-12-08 17:29:06 +00:00 committed by Sven Neumann
parent e33a939fb8
commit 2c594fbc33
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-12-08 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py (_run): fixed logic that decides if a
dialog should be shown or not.
2007-12-07 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpimage-snap.c: fix typo in previous commit.

View File

@ -742,7 +742,7 @@ def _run(proc_name, params):
script_params = _registered_plugins_[proc_name][8]
min_args = 1
min_args = 0
if len(params) > 1:
for i in range(1, len(params)):
param_type = _obj_mapping[script_params[i - 1][0]]