Bug 345021

Summary: Not the right button behavior when connected \ disconnected
Product: [Plasma] plasma-nm Reporter: Lev Lybin <lev.lybin>
Component: editorAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED FIXED    
Severity: normal CC: jgrulich
Priority: NOR    
Version: 5.2.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://screencloud.net/v/EdSX
Latest Commit: Version Fixed In:

Description Lev Lybin 2015-03-10 18:22:10 UTC
The screenshot shows. Connection is active, but the button "Disconnect" is not available, but the button "Connect" is still available. If don't change focus of connection.

Reproducible: Always
Comment 1 Jan Grulich 2015-03-10 19:28:52 UTC

*** This bug has been marked as a duplicate of bug 343606 ***
Comment 2 Lukáš Tinkl 2015-03-10 20:52:54 UTC
Git commit 2e9508234677251e0b01e0c792a567702ab48055 by Lukáš Tinkl.
Committed on 10/03/2015 at 20:51.
Pushed by lukas into branch 'master'.

correctly fix enabling/disabling actions when selection changes

this way it also works with keyboard only mode

M  +3    -20   editor/connectioneditor.cpp
M  +1    -2    editor/connectioneditor.h
M  +1    -1    editor/main.cpp
M  +2    -12   editor/ui/connectioneditor.ui

http://commits.kde.org/plasma-nm/2e9508234677251e0b01e0c792a567702ab48055
Comment 3 Jan Grulich 2015-03-11 13:29:35 UTC
Git commit 9888d2b059c8cf95176742c4ef0742f0629b60f8 by Jan Grulich, on behalf of Lukáš Tinkl.
Committed on 11/03/2015 at 13:28.
Pushed by grulich into branch 'Plasma/5.2'.

correctly fix enabling/disabling actions when selection changes

this way it also works with keyboard only mode

M  +3    -3    editor/connectioneditor.cpp
M  +1    -1    editor/connectioneditor.h
M  +1    -1    editor/main.cpp

http://commits.kde.org/plasma-nm/9888d2b059c8cf95176742c4ef0742f0629b60f8