Mercurial > hg > easyhg
comparison src/mainwindow.cpp @ 378:ad2e56d1e4c4
Reset merge-commit comment when merge fails; add missing ampersand from Help menu label
author | Chris Cannam |
---|---|
date | Tue, 12 Apr 2011 12:21:51 +0100 |
parents | 4d13cacb3e65 |
children | f7dc2c5d8650 |
comparison
equal
deleted
inserted
replaced
377:4d13cacb3e65 | 378:ad2e56d1e4c4 |
---|---|
1942 case ACT_RETRY_MERGE: | 1942 case ACT_RETRY_MERGE: |
1943 MoreInformationDialog::information | 1943 MoreInformationDialog::information |
1944 (this, tr("Merge"), tr("Merge failed"), | 1944 (this, tr("Merge"), tr("Merge failed"), |
1945 tr("Some files were not merged successfully.<p>You can Merge again to repeat the interactive merge; use Revert to abandon the merge entirely; or edit the files that are in conflict in an editor and, when you are happy with them, choose Mark Resolved in each file's right-button menu."), | 1945 tr("Some files were not merged successfully.<p>You can Merge again to repeat the interactive merge; use Revert to abandon the merge entirely; or edit the files that are in conflict in an editor and, when you are happy with them, choose Mark Resolved in each file's right-button menu."), |
1946 output); | 1946 output); |
1947 m_mergeCommitComment = ""; | |
1947 return; | 1948 return; |
1948 case ACT_STAT: | 1949 case ACT_STAT: |
1949 break; // go on to default report | 1950 break; // go on to default report |
1950 default: | 1951 default: |
1951 break; | 1952 break; |
2753 m_advancedMenu = menuBar()->addMenu(tr("&Advanced")); | 2754 m_advancedMenu = menuBar()->addMenu(tr("&Advanced")); |
2754 m_advancedMenu->addAction(m_hgIgnoreAct); | 2755 m_advancedMenu->addAction(m_hgIgnoreAct); |
2755 m_advancedMenu->addSeparator(); | 2756 m_advancedMenu->addSeparator(); |
2756 m_advancedMenu->addAction(m_hgServeAct); | 2757 m_advancedMenu->addAction(m_hgServeAct); |
2757 | 2758 |
2758 m_helpMenu = menuBar()->addMenu(tr("Help")); | 2759 m_helpMenu = menuBar()->addMenu(tr("&Help")); |
2759 m_helpMenu->addAction(m_aboutAct); | 2760 m_helpMenu->addAction(m_aboutAct); |
2760 } | 2761 } |
2761 | 2762 |
2762 void MainWindow::createToolBars() | 2763 void MainWindow::createToolBars() |
2763 { | 2764 { |