mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 04:30:38 +02:00
Make sure confirm() actually confirms.
The "result" field was never set to true. The only way it could be true was because the uninitialized value happened to be non-zero. Thanks to Ayla for this fix.
This commit is contained in:
parent
727d9e95d5
commit
4738f4b232
@ -189,6 +189,7 @@ void BrowseDialog::directoryEnter()
|
|||||||
|
|
||||||
void BrowseDialog::confirm()
|
void BrowseDialog::confirm()
|
||||||
{
|
{
|
||||||
|
result = true;
|
||||||
close = true;
|
close = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user