Materials: Disable editor right click menu
The right click context menu in the materials editor was implemented as a place holder but is currently non-functional. It should be disabled for 1.0. This will be revisited post 1.0 as all editor functionality is reviewed and improved. Fixes #17110
This commit is contained in:
committed by
Yorik van Havre
parent
144645d982
commit
1430680141
@@ -161,11 +161,14 @@ void MaterialsEditor::setup()
|
||||
&MaterialsEditor::onSelectMaterial);
|
||||
connect(ui->treeMaterials, &QTreeView::doubleClicked, this, &MaterialsEditor::onDoubleClick);
|
||||
|
||||
// Disabled for now. This will be revisited post 1.0
|
||||
#if 0
|
||||
ui->treeMaterials->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(ui->treeMaterials,
|
||||
&QWidget::customContextMenuRequested,
|
||||
this,
|
||||
&MaterialsEditor::onContextMenu);
|
||||
#endif
|
||||
}
|
||||
|
||||
void MaterialsEditor::getFavorites()
|
||||
|
||||
Reference in New Issue
Block a user