Skip to content

Commit

Permalink
users-little-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liorbenhorin committed May 29, 2016
1 parent 748d38d commit 9ba3891
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1814,7 +1814,7 @@ def init_current_project(self):
self.enable(self.ui.save_shot_version_pushButton, level = 2)
self.enable(self.ui.import_shot_version_pushButton, level = 2)

if self.settings.role > 1:
if self.settings.role > 1 and self.settings.role < 3:
if self.ui.scenes_main_widget.isHidden():
self.asset_scenes_switch()
self.ui.asset_scenes_switch_pushButton.setHidden(True)
Expand Down Expand Up @@ -2478,9 +2478,12 @@ def update_versions(self):
actions_menu = QtGui.QMenu(parent = self.ui.catagory_pushButton)

reference_action = QtGui.QAction("Reference",actionButtonItem)
reference_action.triggered.connect(self.version_reference)
reference_action.triggered.connect(self.version_reference)
self.enable(reference_action, level = 2)

import_action = QtGui.QAction("Import",actionButtonItem)
import_action.triggered.connect(self.version_add_import)
self.enable(import_action, level = 2)

delete_action = QtGui.QAction("Delete",actionButtonItem)
delete_action.triggered.connect(self.version_delete)
Expand Down

0 comments on commit 9ba3891

Please sign in to comment.