mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03: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:
@@ -189,6 +189,7 @@ void BrowseDialog::directoryEnter()
|
|||||||
|
|
||||||
void BrowseDialog::confirm()
|
void BrowseDialog::confirm()
|
||||||
{
|
{
|
||||||
|
result = true;
|
||||||
close = true;
|
close = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user