Browse Source

Change default file extension to .vcv

tags/v0.3.1
Andrew Belt 7 years ago
parent
commit
c4178ef8a3
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/app/Toolbar.cpp

+ 1
- 3
src/app/Toolbar.cpp View File

@@ -6,8 +6,6 @@

namespace rack {

static const char *filters = "JSON Patch\0*.json\0";


struct NewItem : MenuItem {
void onAction() {
@@ -17,7 +15,7 @@ struct NewItem : MenuItem {

struct SaveItem : MenuItem {
void onAction() {
char *path = osdialog_file(OSDIALOG_SAVE, "./patches", "Untitled.json", NULL);
char *path = osdialog_file(OSDIALOG_SAVE, "./patches", "Untitled.vcv", NULL);
if (path) {
gRackWidget->savePatch(path);
free(path);


Loading…
Cancel
Save