https://bugs.kde.org/show_bug.cgi?id=395157

--- Comment #18 from emele...@gmail.com ---
(In reply to Jan Grulich from comment #16)
> Are you sure that Juniper VPN doesn't need to reload if you change the
> group? If so, there is also slot connected to group change below, causing
> the dialog to reload for the first time and later on it goes to this
> QTimer::singleShot() causing it to reload endlessly.

The connection you mention makes no harm because it is only triggered when the
ComboBox changes after the form is initialized, that is, after the
configuration has been read and the form populated. Then formChanged() will
reload the form through a connection with the server, but there will be only
one such reload. 

However, the current implementation reloads the form right when the index is
changed to any value other than the default because the condition ( i !=
AUTHGROUP_SELECTION(form) ) will be true, and that condition repeats itself. 
This implementaton will only work if the user connects to the first entry in
the ComboBox, which, alas, is not my case.

I assume it works for other VPN flavors because after the first connection, the
field is no longer tagged as AUTHGROUP_OPT, but I can't say for sure.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to