<table><tr><td style="">broulik created this revision.<br />broulik added a reviewer: Plasma.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />broulik requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9799" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This fixes opening panel controller while an applet config dialog was open.<br />
It would find that we want to show config for a panel but find a config is already open, so it would just close it, even though it was not the panel controller (which should be toggleable) but another applet config.<br />
While at it restructure if statements a bit.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Opening panel controller still works</li>
<li class="remarkup-list-item">Closing panel controller when open (toggle) still works</li>
<li class="remarkup-list-item">Opening applet config with panel controller open closes panel controller and opens applet dialog</li>
<li class="remarkup-list-item">Opening panel controller with applet config open <em>now</em> closes applet dialog <em>and then</em> opens panel controller ← this was buggy</li>
<li class="remarkup-list-item">Opening another applet config still closes current applet config and opens new one</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9799" rel="noreferrer">https://phabricator.kde.org/D9799</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/panelview.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>