Changeset 545

Show
Ignore:
Timestamp:
10/01/08 11:27:24 (2 months ago)
Author:
wolke
Message:

merge changes on trunk into audiofilebrowser branche

Files:

Legend:

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

    r501 r545  
    12711271{ 
    12721272        QString sText = event->mimeData()->text(); 
    1273         ERRORLOG(sText); 
    1274          
    1275         if(sText.startsWith("Songs:") || sText.startsWith("Instruments:")) return; 
     1273 
     1274        if( sText.startsWith("Songs:") || sText.startsWith("move instrument:") ){ 
     1275                event->acceptProposedAction(); 
     1276                return; 
     1277        } 
    12761278 
    12771279        if (sText.startsWith("move pattern:")) { 
  • branches/audiofilebrowser/gui/src/SoundLibrary/SoundLibraryPanel.cpp

    r541 r545  
    409409                } 
    410410 
     411                if ( __sound_library_tree->currentItem()->parent() == __song_item ) 
     412                { 
     413                        return; 
     414                } 
     415 
    411416                if ( __sound_library_tree->currentItem()->parent()->text(0) == NULL ) 
    412417                { 
     418                        return; 
     419                } 
     420 
     421                if ( __sound_library_tree->currentItem()->parent() == __pattern_item ) { 
    413422                        return; 
    414423                }