mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
hide keybinding remove button for SAE profile
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2842 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a3f4c2def9
commit
596937443b
1 changed files with 11 additions and 4 deletions
|
|
@ -10,6 +10,8 @@
|
|||
#include <pbd/strsplit.h>
|
||||
#include <pbd/replace_all.h>
|
||||
|
||||
#include <ardour/profile.h>
|
||||
|
||||
#include "actions.h"
|
||||
#include "keyboard.h"
|
||||
#include "keyeditor.h"
|
||||
|
|
@ -54,13 +56,18 @@ KeyEditor::KeyEditor ()
|
|||
|
||||
get_vbox()->set_spacing (6);
|
||||
get_vbox()->pack_start (scroller);
|
||||
get_vbox()->pack_start (unbind_box, false, false);
|
||||
|
||||
if (!ARDOUR::Profile->get_sae()) {
|
||||
get_vbox()->pack_start (unbind_box, false, false);
|
||||
unbind_box.show ();
|
||||
unbind_button.show ();
|
||||
}
|
||||
|
||||
get_vbox()->set_border_width (12);
|
||||
|
||||
scroller.show ();
|
||||
view.show ();
|
||||
unbind_box.show ();
|
||||
unbind_button.show ();
|
||||
scroller.show ();
|
||||
|
||||
unbind_button.set_sensitive (false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue