Prompt should not always use the currently focused button as its result (Fix bug 5518)
This commit is contained in:
parent
c94992179e
commit
29b735d8a9
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ static void prompt_run_callback(ObPrompt *self, gint result)
|
|||
{
|
||||
prompt_ref(self);
|
||||
if (self->func) {
|
||||
gboolean clean = self->func(self, self->focus->result, self->data);
|
||||
gboolean clean = self->func(self, result, self->data);
|
||||
if (clean && self->cleanup)
|
||||
self->cleanup(self, self->data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue