mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 14:46:34 +01:00
[Summary] Set cursor by default at the end of line in the text entry (bug 44536)
This commit is contained in:
parent
9a4e8a516c
commit
42b56fe1c0
2 changed files with 10 additions and 0 deletions
|
|
@ -55,6 +55,13 @@ AddTracksDialog::AddTracksDialog ()
|
|||
_increment_button.signal_clicked.connect (sigc::mem_fun (*this, &AddTracksDialog::on_increment_button));
|
||||
}
|
||||
|
||||
void
|
||||
AddTracksDialog::on_show ()
|
||||
{
|
||||
WavesDialog::on_show ();
|
||||
_tracks_counter_entry.set_position (-1); // set cursor at the last position
|
||||
}
|
||||
|
||||
void
|
||||
AddTracksDialog::populate_tracks_format_dropdown ()
|
||||
{
|
||||
|
|
@ -88,6 +95,7 @@ AddTracksDialog::on_decrement_button (WavesButton*)
|
|||
{
|
||||
set_track_count(1);
|
||||
}
|
||||
_tracks_counter_entry.set_position (-1); // set cursor at the last position
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -105,6 +113,7 @@ AddTracksDialog::on_increment_button (WavesButton*)
|
|||
}
|
||||
|
||||
input_channels ();
|
||||
_tracks_counter_entry.set_position (-1); // set cursor at the last position
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ public:
|
|||
void setup();
|
||||
int count();
|
||||
ARDOUR::ChanCount input_channels ();
|
||||
void on_show ();
|
||||
|
||||
protected:
|
||||
void on_enter_pressed ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue