Staging
v0.5.0
https://foss.heptapod.net/mercurial/hgview
Revision 1104347fb73e2806a5b09f10a7116c137e0a256a authored by Alain Leufroy on 10 June 2014, 11:52:03 UTC, committed by Alain Leufroy on 10 June 2014, 11:52:03 UTC
The problem is that when the tree is refreshed (for example after a commit),
the current file does not appears.

This is due to the fact that the files list model has been updated.
``self.tableView_filelist.selectRow(0)`` highlight the file in the list view
only bu do not "activate" it.

Now we select the previous file, or the first one if it is no more valid (ex:
hg uncommit).
1 parent c1477c0
History
Tip revision: 1104347fb73e2806a5b09f10a7116c137e0a256a authored by Alain Leufroy on 10 June 2014, 11:52:03 UTC
[qt4] fix refresh source file content
Tip revision: 1104347
File Mode Size
bin
debian
debian.squeeze
doc
hgext
hgviewlib
.hgignore -rw-r--r-- 49 bytes
.hgtags -rw-r--r-- 2.2 KB
COPYING -rw-r--r-- 17.6 KB
ChangeLog -rw-r--r-- 5.7 KB
MANIFEST.in -rw-r--r-- 648 bytes
README -rw-r--r-- 1.8 KB
__pkginfo__.py l--------- 24 bytes
debian.maverick l--------- 14 bytes
debian.natty l--------- 14 bytes
setup.py -rw-r--r-- 13.7 KB

README

back to top