mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 22:26:29 +01:00
add API to FloatingTextEntry to force delete-on-focus-out
This commit is contained in:
parent
5b56cef0a7
commit
d6a74c4d96
2 changed files with 7 additions and 0 deletions
|
|
@ -61,6 +61,12 @@ FloatingTextEntry::changed ()
|
|||
entry_changed = true;
|
||||
}
|
||||
|
||||
void
|
||||
FloatingTextEntry::delete_on_focus_out ()
|
||||
{
|
||||
signal_focus_out_event().connect (sigc::mem_fun (*this, &FloatingTextEntry::entry_focus_out));
|
||||
}
|
||||
|
||||
void
|
||||
FloatingTextEntry::on_realize ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue