Ticket #2459: if active panel changed type from file listing to info, inactive panel...
commit8a23288c55182998525b6da6eff4a586abb980ca
authorAndrew Borodin <aborodin@vmail.ru>
Wed, 4 May 2011 13:07:25 +0000 (4 17:07 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Tue, 17 May 2011 11:10:23 +0000 (17 15:10 +0400)
treece67a7592140dd79faa30dda9390ea08eb2c19ca
parentb242d055ef81a61d80bd117eeb7a60fa22c0af49
Ticket #2459: if active panel changed type from file listing to info, inactive panel is not become active.

How to reproduce:

1. Run mc.
2. Change both panels to listing modes.
3. Switch to the right panel.
4. Switch type of active right panel to info using menu.

Result: left panel is not active.
Expected result: left panel must become active.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/widget/dialog.c