Add shortcuts to 'modified since last save' dialog.

This commit is contained in:
Jonathan Moore Liles 2008-06-14 11:41:00 -05:00
parent 530960e14d
commit f440223d20
1 changed files with 4 additions and 3 deletions

View File

@ -967,7 +967,7 @@ else
xywh {-1 772 869 33} xywh {-1 772 869 33}
} { } {
Fl_Box status { Fl_Box status {
label status selected label status
xywh {0 776 783 25} box UP_BOX align 84 xywh {0 776 783 25} box UP_BOX align 84
code0 {o->label( NULL );} code0 {o->label( NULL );}
} }
@ -1279,7 +1279,7 @@ help->show();
} { } {
code {if ( song.dirty() ) code {if ( song.dirty() )
{ {
int c = fl_choice( "Song has been modified since last save. What shall I do?", "Cancel", "Save", "Discard" ); int c = fl_choice( "Song has been modified since last save. What shall I do?", "&Cancel", "&Save", "&Discard" );
switch ( c ) switch ( c )
{ {
@ -1294,7 +1294,8 @@ help->show();
} }
} }
return true;} {} return true;} {selected
}
} }
Function {switch_to_pattern( int n )} {return_type void Function {switch_to_pattern( int n )} {return_type void
} { } {