mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix active option detection
This commit is contained in:
parent
a5a798093d
commit
51e62ece26
1 changed files with 35 additions and 31 deletions
|
|
@ -190,8 +190,10 @@ class Auth
|
|||
// Listen for user chose
|
||||
if (GtkResponseType::OK == $this->gtk->run())
|
||||
{
|
||||
// Get active option
|
||||
// Find active option
|
||||
foreach ($this->_options as $id => $option)
|
||||
{
|
||||
if ($option->get_active())
|
||||
{
|
||||
// Auth
|
||||
if ($id)
|
||||
|
|
@ -234,6 +236,8 @@ class Auth
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$this->gtk->destroy();
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue