mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 17:16:38 +01:00
move on from initial choice page of startup wizard on single click, not just double click (#4354)
git-svn-id: svn://localhost/ardour2/branches/3.0@12355 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ca993f56d6
commit
0e5dfc2dea
1 changed files with 4 additions and 2 deletions
|
|
@ -575,7 +575,7 @@ ArdourStartup::setup_initial_choice_page ()
|
||||||
bool
|
bool
|
||||||
ArdourStartup::initial_button_press (GdkEventButton *event)
|
ArdourStartup::initial_button_press (GdkEventButton *event)
|
||||||
{
|
{
|
||||||
if (event && event->type == GDK_2BUTTON_PRESS && session_page_index != -1) {
|
if (event && session_page_index != -1) {
|
||||||
set_current_page(session_page_index);
|
set_current_page(session_page_index);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -586,7 +586,9 @@ ArdourStartup::initial_button_press (GdkEventButton *event)
|
||||||
void
|
void
|
||||||
ArdourStartup::initial_button_activated ()
|
ArdourStartup::initial_button_activated ()
|
||||||
{
|
{
|
||||||
set_current_page(session_page_index);
|
if (session_page_index != -1) {
|
||||||
|
set_current_page(session_page_index);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue