Browse Source

Mixer: Fix crash if user messes with the window while project is loading.

tags/non-daw-v1.3.0
Jonathan Moore Liles 2 years ago
parent
commit
e290c6ea60
2 changed files with 6 additions and 0 deletions
  1. +3
    -0
      mixer/src/Mixer.C
  2. +3
    -0
      mixer/src/Mixer_Strip.C

+ 3
- 0
mixer/src/Mixer.C View File

@@ -1097,6 +1097,9 @@ Mixer::send_feedback ( void )
int
Mixer::handle ( int m )
{
/* if user presses certain keys when project is loading it can cause a crash. Don't respond to input. */
if ( Project::is_opening() )
return 0;
if ( Fl_Group::handle( m ) )
return 1;


+ 3
- 0
mixer/src/Mixer_Strip.C View File

@@ -1149,6 +1149,9 @@ Mixer_Strip::handle ( int m )
{
static int _button = 0;

if (!_chain )
return 0;
Logger log( this );
static Fl_Widget *dragging = NULL;


Loading…
Cancel
Save