Review Request 120386: Fix Apply button in applet configuration
Marco Martin
notmart at gmail.com
Mon Sep 29 10:22:00 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120386/#review67610
-----------------------------------------------------------
Ship it!
Ship It!
- Marco Martin
On Sept. 27, 2014, 11:26 a.m., Kai Uwe Broulik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120386/
> -----------------------------------------------------------
>
> (Updated Sept. 27, 2014, 11:26 a.m.)
>
>
> Review request for Plasma.
>
>
> Bugs: 339428
> https://bugs.kde.org/show_bug.cgi?id=339428
>
>
> Repository: plasma-desktop
>
>
> Description
> -------
>
> There's no need to call restoreConfiguration() in Component.onCompleted since the explicit manipulation of the StackView's sourceFile property in said method will already trigger the onSourceFileChanged handler which will restoreConfigration() also.
>
> This lead to the issue that for data structures QML cannot compare, like the Array of extra items in systray config, triggered the change handler on re-assignment by the method running a second time enabling the Apply button.
>
>
> Diffs
> -----
>
> desktoppackage/contents/configuration/AppletConfiguration.qml 2da918e
>
> Diff: https://git.reviewboard.kde.org/r/120386/diff/
>
>
> Testing
> -------
>
> Opened config, changed and applied values, switched between pages, in systray and digitalclock config. Config restored properly.
>
>
> Thanks,
>
> Kai Uwe Broulik
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140929/f47ec804/attachment.html>
More information about the Plasma-devel
mailing list