13
0

Only show the Range property header when a Range is selected (WIP)

This commit is contained in:
Ben Loftis 2022-01-26 09:22:48 -06:00
parent a29510c1c4
commit 925a3b3ccd

View File

@ -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();
}
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