commit bd366523451b699fff8653ae8c902e7b033301ac
parent 44731f7556fd4780f83e53c617e6a6eac6f1e6c2
Author: paulnasca <paulnasca>
Date: Sat, 16 Oct 2004 10:05:16 +0000
*** empty log message ***
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -730,4 +730,6 @@
- Adaugat un icon la ZynAddSubFX
10 Oct 2004 - Si controllerul de Resonance se aplica la toate item-urile din kit
12 Oct 2004 - Corectata o eroare care facea ca butoanele Addpoint si Delpoint de la Envelope sa nu fie afisate
+16 Oct 2004 - Corectata o eroare care facea ca partUI-ul sa nu se actualizeze intotdeauna cand incarcam un instrument
+
diff --git a/src/UI/MasterUI.fl b/src/UI/MasterUI.fl
@@ -1133,7 +1133,7 @@ bankui->show();}
}
Fl_Slider partpanning {
label Pan
- callback {master->part[npart]->setPpanning((int) o->value());} selected
+ callback {master->part[npart]->setPpanning((int) o->value());}
xywh {185 95 70 15} type {Horz Knob} box FLAT_BOX maximum 127 step 1 value 64
code0 {o->value(master->part[npart]->Ppanning);}
}
@@ -1663,11 +1663,15 @@ pthread_mutex_lock(&master->mutex);
pthread_mutex_unlock(&master->mutex);
master->applyparameters();
+npartcounter->value(1);
refresh_master_ui();
+updatepanel();
if (result>=0) setfilelabel(filename);
+
if (result==-10) fl_alert("Error: Could not load the file\\nbecause it is not a zynaddsubfx parameters file.");
- else if (result<0) fl_alert("Error: Could not load the file.");} {}
+ else if (result<0) fl_alert("Error: Could not load the file.");} {selected
+ }
}
Function {do_save_master()} {} {
code {char *filename;