mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-04 16:51:37 -05:00
fix cancel
This commit is contained in:
parent
ea8f6b2be5
commit
fd4ac1676a
1 changed files with 4 additions and 1 deletions
|
@ -238,7 +238,10 @@ void setRecordBarsCb(Fl_Widget *w, void* data)
|
|||
long bars = (long)data;
|
||||
if(bars == -2){
|
||||
const char* answer = fl_input("Enter a custom number: ");
|
||||
bars = atoi(answer);
|
||||
if(!answer)
|
||||
bars = -1;
|
||||
else
|
||||
bars = atoi(answer);
|
||||
}
|
||||
|
||||
EventLooperBarsToRecord e(track->ID, track->getLastClipNum(), bars);
|
||||
|
|
Loading…
Add table
Reference in a new issue