mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Propter may accept current value
This commit is contained in:
parent
b52c6b5c47
commit
baf8fe7bc5
1 changed files with 4 additions and 1 deletions
|
|
@ -46,9 +46,12 @@ public:
|
|||
entryLabel.set_label (prompt);
|
||||
}
|
||||
|
||||
void set_initial_text (std::string txt) {
|
||||
void set_initial_text (std::string txt, bool allow_replace = false) {
|
||||
entry.set_text (txt);
|
||||
entry.select_region (0, entry.get_text_length());
|
||||
if (allow_replace) {
|
||||
on_entry_changed ();
|
||||
}
|
||||
}
|
||||
|
||||
void change_labels (std::string ok, std::string cancel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue