Skip to content

Commit

Permalink
pydm/widgets/embedded_display.py
Browse files Browse the repository at this point in the history
  • Loading branch information
YektaY committed Sep 16, 2022
1 parent aae087f commit c01c68d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydm/widgets/embedded_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def filename(self, filename):
self.clear_error_text()
self.load_if_needed()

def macros_and_filename(self, new_filename, new_macros):
def set_macros_and_filename(self, new_filename, new_macros):
"""
A method to change both macros and the filename of an embedded display.
the method takes in a Filename of the display to embed and a
Expand All @@ -174,7 +174,7 @@ def macros_and_filename(self, new_filename, new_macros):
if new_macros != self._macros:
self._macros = new_macros

self.filename(new_filename)
self.filename = new_filename

def parsed_macros(self):
"""
Expand Down

0 comments on commit c01c68d

Please sign in to comment.