Mercurial > hg > easyhg
comparison changesetscene.cpp @ 124:1f27f71a7034
* Fixes to changeset details display; show on right instead of below to avoid disrupting flow
author | Chris Cannam |
---|---|
date | Mon, 29 Nov 2010 11:38:25 +0000 |
parents | 005a54380502 |
children | e6c6b88d19b9 |
comparison
equal
deleted
inserted
replaced
123:3afa1ce339ec | 124:1f27f71a7034 |
---|---|
27 ChangesetScene::changesetDetailShown() | 27 ChangesetScene::changesetDetailShown() |
28 { | 28 { |
29 ChangesetItem *csi = qobject_cast<ChangesetItem *>(sender()); | 29 ChangesetItem *csi = qobject_cast<ChangesetItem *>(sender()); |
30 if (!csi) return; | 30 if (!csi) return; |
31 | 31 |
32 if (m_detailShown) { | 32 if (m_detailShown && m_detailShown != csi) { |
33 m_detailShown->hideDetail(); | 33 m_detailShown->hideDetail(); |
34 } | 34 } |
35 m_detailShown = csi; | 35 m_detailShown = csi; |
36 } | 36 } |
37 | 37 |