/[svn]/gigedit/trunk/src/gigedit/mainwindow.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/mainwindow.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2548 by schoenebeck, Tue May 13 12:17:43 2014 UTC revision 2550 by schoenebeck, Wed May 14 01:31:30 2014 UTC
# Line 434  MainWindow::MainWindow() : Line 434  MainWindow::MainWindow() :
434    
435      // start with a new gig file by default      // start with a new gig file by default
436      on_action_file_new();      on_action_file_new();
437    
438        // select 'Instruments' tab by default
439        // (gtk allows this only if the tab childs are visible, thats why it's here)
440        m_TreeViewNotebook.set_current_page(1);
441  }  }
442    
443  MainWindow::~MainWindow()  MainWindow::~MainWindow()
# Line 2010  void MainWindow::on_sample_label_drop_dr Line 2014  void MainWindow::on_sample_label_drop_dr
2014          bool channels_changed = false;          bool channels_changed = false;
2015          if (sample->Channels == 1 && stereo_dimension) {          if (sample->Channels == 1 && stereo_dimension) {
2016              // remove the samplechannel dimension              // remove the samplechannel dimension
2017    /* commented out, because it makes it impossible building up an instrument from scratch using two separate L/R samples
2018              region->DeleteDimension(stereo_dimension);              region->DeleteDimension(stereo_dimension);
2019              channels_changed = true;              channels_changed = true;
2020              region_changed();              region_changed();
2021    */
2022          }          }
2023          dimreg_edit.set_sample(          dimreg_edit.set_sample(
2024              sample,              sample,

Legend:
Removed from v.2548  
changed lines
  Added in v.2550

  ViewVC Help
Powered by ViewVC