SelectByHandleInit.js 449 B

12345678910
  1. function init(basePath) {
  2. var action = new RGuiAction(qsTranslate("SelectByHandle", "By Handle"), RMainWindowQt.getMainWindow());
  3. action.setRequiresDocument(true);
  4. action.setScriptFile(basePath + "/SelectByHandle.js");
  5. action.setDefaultShortcut(new QKeySequence("t,h"));
  6. action.setGroupSortOrder(53100);
  7. action.setSortOrder(100);
  8. action.setWidgetNames(["MiscSelectMenu", "!MiscSelectToolBar", "MiscSelectToolsPanel"]);
  9. }