debug-viewer: Fix reload file action.
authorPhilippe Normand <philn@igalia.com>
Thu, 14 Jun 2018 17:01:54 +0000 (18:01 +0100)
committerPhilippe Normand <philn@igalia.com>
Thu, 14 Jun 2018 17:01:54 +0000 (18:01 +0100)
commit7e2200d8891050f2f54e5a8b2c5c43a938a67010
treebea5afa99e32406e8a55ee345367f0fd41db2bec
parent1a9455d2f62fef3515f786eeb63966ff10027b68
debug-viewer: Fix reload file action.

Copy the log file only we're loading a file different from the previous file.
The previous version of this code was broken because the existing tmpfile was
removed from disk before being copied to a new temporary file.
debug-viewer/GstDebugViewer/GUI/window.py