From 4ee659763f12f9fc7d2574b372e769c17bc820d9 Mon Sep 17 00:00:00 2001 From: Cyril Waechter Date: Mon, 14 Jan 2019 17:30:43 +0100 Subject: [PATCH] Correcting WPFWindow.set_image_source doc string (#478) --- pyrevitlib/pyrevit/forms/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyrevitlib/pyrevit/forms/__init__.py b/pyrevitlib/pyrevit/forms/__init__.py index cf5385996..5ce6c77ea 100644 --- a/pyrevitlib/pyrevit/forms/__init__.py +++ b/pyrevitlib/pyrevit/forms/__init__.py @@ -138,10 +138,9 @@ def set_image_source(self, wpf_element, image_file): """Set source file for image element. Args: - element_name (str): xaml image element name + element_name (System.Windows.Controls.Image): xaml image element image_file (str): image file path """ - # wpfel = getattr(self, element_name) if not op.exists(image_file): wpf_element.Source = \ utils.bitmap_from_file(