Raise existing submit window if there is one when Submit is invoked.

Introduce convenience to VCSBaseSubmitEditor.
Task-number: 254644
This commit is contained in:
Friedemann Kleint
2009-05-27 16:17:24 +02:00
parent 192afe0825
commit e5c6a29fc4
5 changed files with 31 additions and 2 deletions

View File

@@ -485,6 +485,9 @@ void PerforcePlugin::printOpenedFileList()
void PerforcePlugin::submit()
{
if (VCSBase::VCSBaseSubmitEditor::raiseSubmitEditor())
return;
if (!checkP4Command()) {
showOutput(tr("No p4 executable specified!"), true);
return;