Browse Source

A few minor fixes

tags/v0.3.2
Andrew Belt 7 years ago
parent
commit
23143d6c67
3 changed files with 3 additions and 1 deletions
  1. +1
    -0
      src/app/ModuleWidget.cpp
  2. +1
    -0
      src/app/RackWidget.cpp
  3. +1
    -1
      src/gui.cpp

+ 1
- 0
src/app/ModuleWidget.cpp View File

@@ -159,6 +159,7 @@ Widget *ModuleWidget::onHoverKey(Vec pos, int key) {
gRackWidget->deleteModule(this);
this->finalizeEvents();
delete this;
return NULL;
}
break;
case GLFW_KEY_I:


+ 1
- 0
src/app/RackWidget.cpp View File

@@ -45,6 +45,7 @@ void RackWidget::clear() {
activeWire = NULL;
wireContainer->clearChildren();
moduleContainer->clearChildren();
lastPath = "";
}

void RackWidget::openDialog() {


+ 1
- 1
src/gui.cpp View File

@@ -304,7 +304,7 @@ void guiRun() {

// Autosave every 15 seconds
if (gGuiFrame % (60*15) == 0) {
gRackWidget->savePatch("autosave.json");
gRackWidget->savePatch("autosave.vcv");
settingsSave("settings.json");
}



Loading…
Cancel
Save