def create_repo_editor_ui(self, sobject_item, mode='create'):
    add_watch_ui = Ui_repositoryEditorWidget(sobject_item=sobject_item, mode=mode, parent=env_inst.ui_main)
    add_watch_ui.saved_signal.connect(self.add_watch_to_watch_folders_dict)
    add_watch_ui.edited_signal.connect(self.save_watch_to_watch_folders_dict)
    add_watch_ui.exec_()
def create_repo_editor_ui(self, sobject_item, mode='create'):
    add_watch_ui = Ui_repositoryEditorWidget(sobject_item=sobject_item, mode=mode, parent=env_inst.ui_main)
    add_watch_ui.saved_signal.connect(self.add_watch_to_watch_folders_dict)
    add_watch_ui.edited_signal.connect(self.save_watch_to_watch_folders_dict)
    add_watch_ui.exec_()