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() |
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, |