Changeset 543

Show
Ignore:
Timestamp:
10/01/08 17:02:37 (2 months ago)
Author:
wolke
Message:

small fix on pattern drag & drop

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gui/src/SongEditor/SongEditor.cpp

    r542 r543  
    12711271{ 
    12721272        QString sText = event->mimeData()->text(); 
    1273         ERRORLOG(sText); 
    12741273 
    12751274        if( sText.startsWith("Songs:") || sText.startsWith("move instrument:") ) 
     1275                event->acceptProposedAction(); 
    12761276                return; 
    12771277 
  • trunk/gui/src/SoundLibrary/SoundLibraryPanel.cpp

    r542 r543  
    405405                 
    406406                if ( __sound_library_tree->currentItem()->parent() == NULL ) 
     407                { 
     408                        return; 
     409                } 
     410 
     411                if ( __sound_library_tree->currentItem()->parent() == __song_item ) 
    407412                { 
    408413                        return;