Skip to content

Commit

Permalink
Merge pull request #2069 from BaraMGB/preset
Browse files Browse the repository at this point in the history
Sets Focus to InstrumentTrackWindow
  • Loading branch information
tresf committed Jun 2, 2015
2 parents 388dfbc + 0e5c6ae commit 5265ec9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tracks/InstrumentTrack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,7 @@ void InstrumentTrackWindow::dropEvent( QDropEvent* event )
engine::getSong()->setModified();

event->accept();
setFocus();
}
else if( type == "presetfile" )
{
Expand All @@ -1516,6 +1517,7 @@ void InstrumentTrackWindow::dropEvent( QDropEvent* event )
engine::getSong()->setModified();

event->accept();
setFocus();
}
else if( type == "pluginpresetfile" )
{
Expand All @@ -1530,6 +1532,7 @@ void InstrumentTrackWindow::dropEvent( QDropEvent* event )
i->loadFile( value );

event->accept();
setFocus();
}
}

Expand Down

0 comments on commit 5265ec9

Please sign in to comment.