Commit d7b7bed7 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

repowidget: update action availability on repositoryChanged

Otherwise "Topic" action wouldn't be enabled/disabled on phase change
for example.

--HG--
branch : stable
parent 12a1cb3515d5
Pipeline #24425 failed with stage
in 25 minutes and 52 seconds
......@@ -1050,6 +1050,7 @@ class RepoWidget(QWidget):
self.rebuildGraph()
except (error.RevlogError, error.RepoError) as e:
self.showMessage(hglib.tounicode(str(e)))
self._updateNamedActions()
@pyqtSlot()
def configChanged(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment