Skip to content

Commit

Permalink
- Make audio/MIDI bus group-box exclusive visible (buses dialog).
Browse files Browse the repository at this point in the history
  • Loading branch information
rncbc committed Apr 24, 2016
1 parent 61ea3da commit 5bf9c27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
AC_INIT(Qtractor, 0.7.6.13, [email protected], qtractor)
AC_INIT(Qtractor, 0.7.6.14, [email protected], qtractor)

AC_CONFIG_SRCDIR(src/qtractor.cpp)
AC_CONFIG_HEADERS(src/config.h)
Expand Down
8 changes: 4 additions & 4 deletions src/qtractorBusForm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -765,15 +765,15 @@ void qtractorBusForm::stabilizeForm (void)
{
if (m_pBus) {
m_ui.CommonBusGroup->setEnabled(true);
m_ui.AudioBusGroup->setEnabled(
m_ui.AudioBusGroup->setVisible(
m_pBus->busType() == qtractorTrack::Audio);
m_ui.MidiBusGroup->setEnabled(
m_ui.MidiBusGroup->setVisible(
m_pBus->busType() == qtractorTrack::Midi &&
(m_pBus->busMode() & qtractorBus::Output));
} else {
m_ui.CommonBusGroup->setEnabled(false);
m_ui.AudioBusGroup->setEnabled(false);
m_ui.MidiBusGroup->setEnabled(false);
m_ui.AudioBusGroup->setVisible(false);
m_ui.MidiBusGroup->setVisible(false);
}

m_ui.MonitorCheckBox->setEnabled(
Expand Down

0 comments on commit 5bf9c27

Please sign in to comment.