remove delete shortcut from filter layer

This commit is contained in:
alemuntoni 2021-07-01 12:15:30 +02:00
parent b201098047
commit 95983be406

View File

@ -58,17 +58,9 @@ FilterLayerPlugin::FilterLayerPlugin()
FP_IMPORT_CAMERAS
};
QCoreApplication* app = QCoreApplication::instance();
for(ActionIDType tt: types()) {
QAction* act = new QAction(filterName(tt), this);
actionList.push_back(act);
if (app != nullptr) {
if(tt==FP_DELETE_MESH){
act->setShortcut(Qt::CTRL + Qt::Key_D);
}
}
}
}