History

first cut at splitting out scripting engine from agent to add to client

ZappoMan committed 12 years ago

Commit e2fbb7b1 parent 02d3d3812 files · +318 −31Browse files

Showing the changes to interface/src/Menu.cpp (1 of 12 files). Show all

Unified · Split

interface/src/Menu.cpp+3−0
@@ -90,6 +90,9 @@ Menu::Menu() : · 89 unmodified lines
90 this,90 this,
91 SLOT(login())));91 SLOT(login())));
92 92
93 addDisabledActionAndSeparator(fileMenu, "Scripts");
94 addActionToQMenuAndActionHash(fileMenu, MenuOption::LoadScript, Qt::CTRL | Qt::Key_O, appInstance, SLOT(loadScript()));
95
93 addDisabledActionAndSeparator(fileMenu, "Voxels");96 addDisabledActionAndSeparator(fileMenu, "Voxels");
94 addActionToQMenuAndActionHash(fileMenu, MenuOption::ExportVoxels, Qt::CTRL | Qt::Key_E, appInstance, SLOT(exportVoxels()));97 addActionToQMenuAndActionHash(fileMenu, MenuOption::ExportVoxels, Qt::CTRL | Qt::Key_E, appInstance, SLOT(exportVoxels()));
95 addActionToQMenuAndActionHash(fileMenu, MenuOption::ImportVoxels, Qt::CTRL | Qt::Key_I, appInstance, SLOT(importVoxels()));98 addActionToQMenuAndActionHash(fileMenu, MenuOption::ImportVoxels, Qt::CTRL | Qt::Key_I, appInstance, SLOT(importVoxels()));