on xenial help sign in
unset model in quicklist before closing it.

Approved by PS Jenkins bot, Albert Astals Cid, Michał Sawicz.

commita54679cf12082118ded8d561917c5ef93b011865 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 27 Aug 2013, 08:53 (13 years ago) parent5ff94b969850dd
1 file changed+5−1
Launcher/LauncherPanel.qml+5−1
Launcher/LauncherPanel.qml+5−1
@@ -492,6 +492,7 @@ Item {
492492 height: childrenRect.height
493493
494494 Repeater {
495+ id: popoverRepeater
495496 model: popover.model
496497
497498 ListItems.Standard {
@@ -502,8 +503,11 @@ Item {
502503 if (!model.clickable) {
503504 return;
504505 }
505− LauncherModel.quickListActionInvoked(appId, index);
506506 PopupUtils.close(popover);
507+ // Unsetting model to prevent showing changing entries during fading out
508+ // that may happen because of triggering an action.
509+ LauncherModel.quickListActionInvoked(appId, index);
510+ popoverRepeater.model = undefined;
507511 }
508512 }
509513 }