pygui: fixed and changed custom service copy to focus only on copying the current file displayed from any other nodes with a customized version

This commit is contained in:
Blake Harnden 2020-06-23 16:11:39 -07:00
parent 60d9fe2026
commit 6490b5b9cb
2 changed files with 77 additions and 155 deletions

View file

@ -563,7 +563,11 @@ class ServiceConfigDialog(Dialog):
self.current_service_color("")
def click_copy(self) -> None:
dialog = CopyServiceConfigDialog(self, self.app, self.node_id)
file_name = self.filename_combobox.get()
name = self.canvas_node.core_node.name
dialog = CopyServiceConfigDialog(
self.app, self, name, self.service_name, file_name
)
dialog.show()
@classmethod