mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Work around tooltips in treeviews selection issue #7678
When tooltips are disabled, but a tooltip column is set for a treeview, the treeview selection behaves inconsistently. It requires a 3rd click after expanding any child-rows to select a child.
This commit is contained in:
parent
fe318c0cd5
commit
b81fdeaa66
4 changed files with 17 additions and 6 deletions
|
|
@ -187,8 +187,10 @@ EditorRegions::EditorRegions (Editor* e)
|
|||
_display.set_headers_visible (true);
|
||||
_display.set_rules_hint ();
|
||||
|
||||
/* show path as the row tooltip */
|
||||
_display.set_tooltip_column (14); /* path */
|
||||
if (UIConfiguration::instance().get_use_tooltips()) {
|
||||
/* show path as the row tooltip */
|
||||
_display.set_tooltip_column (14); /* path */
|
||||
}
|
||||
|
||||
CellRendererText* region_name_cell = dynamic_cast<CellRendererText*>(_display.get_column_cell_renderer (0));
|
||||
region_name_cell->property_editable() = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue