elementary: make sure that the model parent being used is always the fileselector.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 22 Mar 2019 18:20:51 +0000 (11:20 -0700)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 2 Apr 2019 04:14:38 +0000 (13:14 +0900)
commitb25de2df8e063c9f3a478b5fd815bb0b8ff1d41e
treed92fd71afc9d39fdd6c83365fb5d835407b6ed2e
parent20558d39d610c8c88d7b18a4e42f7ff631cc6e2e
elementary: make sure that the model parent being used is always the fileselector.

Model provided by an item selection would have there parent being the current
model of the fileselector. Once that one is replaced by the item model, it would
automatically invalidate the model and break any further request. This lead to
a bug where you could only get into one directory before everything else
being empty.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8450
src/lib/elementary/elc_fileselector.c