Andrew Borodin 716479ba4f Ticket #3700: fix segfault after switch left panel to info mode.
(widget_replace): if new widget cannot take focus, move focus to other widget
before widget replacement.

In our case, the focused file panel is replaced by Info one. Info panel
a) isn't selectable (it never takes focus) and b) uses CWD of current
panel. Therefore focus must be moved to other file panel to make it
current and correctly set up it's CWD before first draw of Info panel.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-10-23 08:08:15 +03:00
..
2016-09-11 11:30:20 +03:00
2016-09-11 11:30:20 +03:00
2016-06-02 20:41:00 +03:00
2016-07-29 09:32:04 +03:00
2016-05-07 16:19:02 +03:00
2016-06-02 20:41:00 +03:00
2016-09-11 11:52:07 +03:00