mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +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
|
||||
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);
|
||||
return true;
|
||||
} else {
|
||||
|
|
@ -586,7 +586,9 @@ ArdourStartup::initial_button_press (GdkEventButton *event)
|
|||
void
|
||||
ArdourStartup::initial_button_activated ()
|
||||
{
|
||||
set_current_page(session_page_index);
|
||||
if (session_page_index != -1) {
|
||||
set_current_page(session_page_index);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue