mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 12:53:43 +02:00
Modified the key shortcuts for the wallpaper dialog.
This commit is contained in:
parent
d0cfe7c60d
commit
38cfd321f6
@ -73,6 +73,7 @@ bool WallpaperDialog::exec()
|
||||
|
||||
ButtonBox buttonbox(gmenu2x);
|
||||
buttonbox.add(new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Select wallpaper"]));
|
||||
buttonbox.add(new IconButton(gmenu2x, "skin:imgs/buttons/a.png", gmenu2x->tr["Exit"]));
|
||||
|
||||
while (!close) {
|
||||
if (selected>firstElement+9) firstElement=selected-9;
|
||||
@ -107,8 +108,7 @@ bool WallpaperDialog::exec()
|
||||
gmenu2x->s->flip();
|
||||
|
||||
switch(gmenu2x->input.waitForPressedButton()) {
|
||||
case MENU:
|
||||
case CLEAR:
|
||||
case CANCEL:
|
||||
close = true;
|
||||
result = false;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user