Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix / Update File List Form on Folder Double Clicked #131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Run PreCommit Hook
  • Loading branch information
Ni-g-3l committed Jul 6, 2023
commit 59ad74da369fda4dde8097d515a0417b1aff827b
4 changes: 2 additions & 2 deletions python/tk_multi_workfiles/entity_tree/entity_tree_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ def ensure_data_for_context(self, context):

def select_folder_entity(self, folder):
self._reset_selection()
self.select_entity(folder['type'], folder["id"])
self.select_entity(folder["type"], folder["id"])

def select_entity(self, entity_type, entity_id):
"""
Select the specified entity in the tree.
Expand Down
2 changes: 1 addition & 1 deletion python/tk_multi_workfiles/file_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __repr__(self):
WORK_AREA_ROLE = _BASE_ROLE + 3 # WorkArea data
SEARCH_STATUS_ROLE = _BASE_ROLE + 4 # search status data
SEARCH_MSG_ROLE = _BASE_ROLE + 5 # search message data
FOLDER_ENTITY_ROLE = _BASE_ROLE + 6 # FolderEntity data
FOLDER_ENTITY_ROLE = _BASE_ROLE + 6 # FolderEntity data

class _BaseModelItem(QtGui.QStandardItem):
"""
Expand Down