diff options
Diffstat (limited to 'gui/dialog.cpp')
-rw-r--r-- | gui/dialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp index 5805e95f2f..d8569d979e 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -58,14 +58,15 @@ int Dialog::runModal() // Start processing events _gui->runLoop(); - // FIXME - for now always return 0.... - return 0; + // Return the result code + return _result; } void Dialog::open() { Widget *w = _firstWidget; + _result = 0; _visible = true; _gui->openDialog(this); |