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));
|
_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
|
void
|
||||||
AddTracksDialog::populate_tracks_format_dropdown ()
|
AddTracksDialog::populate_tracks_format_dropdown ()
|
||||||
{
|
{
|
||||||
|
|
@ -88,6 +95,7 @@ AddTracksDialog::on_decrement_button (WavesButton*)
|
||||||
{
|
{
|
||||||
set_track_count(1);
|
set_track_count(1);
|
||||||
}
|
}
|
||||||
|
_tracks_counter_entry.set_position (-1); // set cursor at the last position
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -105,6 +113,7 @@ AddTracksDialog::on_increment_button (WavesButton*)
|
||||||
}
|
}
|
||||||
|
|
||||||
input_channels ();
|
input_channels ();
|
||||||
|
_tracks_counter_entry.set_position (-1); // set cursor at the last position
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ public:
|
||||||
void setup();
|
void setup();
|
||||||
int count();
|
int count();
|
||||||
ARDOUR::ChanCount input_channels ();
|
ARDOUR::ChanCount input_channels ();
|
||||||
|
void on_show ();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void on_enter_pressed ();
|
void on_enter_pressed ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue