dag: improve selection restoration behavior
commitd1470a95269ed09f35ee28aaef5cdcb4bb79954c
authorDavid Aguilar <davvid@gmail.com>
Sun, 26 Jul 2015 18:34:59 +0000 (26 11:34 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sun, 26 Jul 2015 18:34:59 +0000 (26 11:34 -0700)
treeca006d02c693053944d58974e68f7f330a055a4c
parent45df92ecc9a1ca41d8144c6183efdcb5aa422bf1
dag: improve selection restoration behavior

Ensure that the selection is saved (and not clobbered when it becomes
empty) so that we can properly restore the selection across refreshes.

Related-to: #480
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/dag.py