Skip to content

Commit 8e58f3a

Browse files
committed
Fix #16: allow every other action to be selected in custom buttons
1 parent 445cf46 commit 8e58f3a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/ActivityEditor.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,10 @@ export default {
312312
actions: [
313313
{ text: 'Esegui', value: 'runProgramLegacy' },
314314
{ text: 'Salva', value: 'saveProgram' },
315-
//{ text: 'Salva con Nome', value: 'saveas' },
315+
{ text: 'Carica Programma', value: 'loadProgramList' },
316+
{ text: 'Esporta', value: 'exportProgram' },
317+
{ text: 'Importa', value: 'pickFile' },
318+
{ text: 'Salva con Nome', value: 'toggleSaveAs' },
316319
{ text: 'Mostra Codice', value: 'getProgramCode' },
317320
],
318321
value: 0,
@@ -354,7 +357,7 @@ export default {
354357
defaultView: 'blocks',
355358
viste: [
356359
{ text: 'Blocchi', value: 'blocks' },
357-
{ text: 'Esecuzione', value: 'exec', disabled: true},
360+
{ text: 'Esecuzione', value: 'exec', disabled: true },
358361
{ text: 'Python', value: 'python', disabled: true }
359362
],
360363
};

0 commit comments

Comments
 (0)