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); gRackWidget->deleteModule(this);
this->finalizeEvents(); this->finalizeEvents();
delete this; delete this;
return NULL;
} }
break; break;
case GLFW_KEY_I: case GLFW_KEY_I:


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

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


void RackWidget::openDialog() { void RackWidget::openDialog() {


+ 1
- 1
src/gui.cpp View File

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


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




Loading…
Cancel
Save