Remove the edit file option for zip archives in the project tree

This commit is contained in:
Marek Roszko 2024-12-20 23:46:02 -05:00
parent 710ed82a3e
commit 8854ba6fcf

View File

@ -824,6 +824,13 @@ void PROJECT_TREE_PANE::onRight( wxTreeEvent& Event )
can_edit = false; can_edit = false;
break; break;
case TREE_FILE_TYPE::ZIP_ARCHIVE:
can_edit = false;
can_switch_to_project = false;
can_create_new_directory = false;
can_open_this_directory = false;
break;
case TREE_FILE_TYPE::JOBSET_FILE: case TREE_FILE_TYPE::JOBSET_FILE:
run_jobs = true; run_jobs = true;
can_edit = false; can_edit = false;