by
Changes to 3 files · Browse files at f0179326f34e Showing diff from parent c25b4666832b 8d636040d1a4 Diff from another changeset...
@@ -279,6 +279,9 @@ else:
idx = self.model().indexFromRev(rev)
if idx is not None:
+ # avoid unwanted selection change (#1019)
+ if self.currentIndex().row() != idx.row():
+ self.setCurrentIndex(idx)
self.scrollTo(idx)
def saveSettings(self, s = None):
|
@@ -336,7 +336,8 @@ if status in 'MAR!':
self.actions.allactions[0].trigger()
elif status == 'S':
- self.linkActivated.emit(u'subrepo:'+hglib.tounicode(path))
+ self.linkActivated.emit(
+ u'subrepo:' + hglib.tounicode(self.repo.wjoin(path)))
@pyqtSlot(QString)
def setFilter(self, match):
@@ -871,7 +872,7 @@ assert util.all(c in self._TYPES for c in text)
for c in self._TYPES:
self._actions[c].setChecked(c in text)
-
+
class StatusDialog(QDialog):
'Standalone status browser'
def __init__(self, repo, pats, opts, parent=None):
|
Loading...