mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Only show the Range property header when a Range is selected (WIP)
This commit is contained in:
parent
a29510c1c4
commit
925a3b3ccd
1 changed files with 3 additions and 6 deletions
|
|
@ -173,15 +173,12 @@ SelectionPropertiesBox::selection_changed ()
|
|||
_slot_prop_box->hide();
|
||||
#endif
|
||||
|
||||
if (selection.empty()) {
|
||||
_header_label.hide();
|
||||
} else {
|
||||
_header_label.set_text(_("Range Properties (Press ESC to Deselect All)"));
|
||||
_header_label.show();
|
||||
}
|
||||
_header_label.hide();
|
||||
|
||||
if (!selection.time.empty()) {
|
||||
_time_info_box->show();
|
||||
_header_label.set_text(_("Range Properties (Press ESC to Deselect All)"));
|
||||
_header_label.show();
|
||||
}
|
||||
|
||||
#if SELECTION_PROPERTIES_BOX_TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue