merged from protocol 3 branch; fix for DFL-359, 'Switch info type' changes state when switching between attach and detach mode
merged from protocol 3 branch; fix for DFL-359, 'Switch info type' changes state when switching between attach and detach mode

operasoftware/dragonfly,operasoftware/dragonfly,operasoftware/dragonfly,operasoftware/dragonfly