Changeset 525
- Timestamp:
- 09/27/08 18:39:16 (2 months ago)
- Files:
-
- trunk/gui/src/HydrogenApp.cpp (modified) (2 diffs)
- trunk/gui/src/PatternEditor/PatternEditorPanel.cpp (modified) (1 diff)
- trunk/gui/src/PatternEditor/PatternEditorPanel.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gui/src/HydrogenApp.cpp
r513 r525 259 259 260 260 m_pSongEditorPanel->updateAll(); 261 m_pPatternEditorPanel->updateSLnameLabel(); 261 262 262 263 QString songName( song->__name ); … … 354 355 void HydrogenApp::onDrumkitLoad( QString name ){ 355 356 setStatusBarMessage( trUtf8( "Drumkit loaded: [%1]" ).arg( name ), 2000 ); 356 m_pPatternEditorPanel->updateSLnameLabel( name);357 m_pPatternEditorPanel->updateSLnameLabel( ); 357 358 } 358 359 trunk/gui/src/PatternEditor/PatternEditorPanel.cpp
r513 r525 52 52 53 53 54 void PatternEditorPanel::updateSLnameLabel( QString name)54 void PatternEditorPanel::updateSLnameLabel( ) 55 55 { 56 56 QFont font; 57 57 font.setBold( true ); 58 58 pSLlabel->setFont( font ); 59 pSLlabel->setText( name);59 pSLlabel->setText( Hydrogen::get_instance()->m_currentDrumkit ); 60 60 } 61 61 trunk/gui/src/PatternEditor/PatternEditorPanel.h
r513 r525 65 65 PatternEditorInstrumentList* getInstrumentList() { return m_pInstrumentList; } 66 66 67 void updateSLnameLabel( QString name);67 void updateSLnameLabel( ); 68 68 69 69 // Implements EventListener interface
