VCS: raise submit editor to the front when prompting

Bring the submit to the front when asking whether the change should
get committed or not. This is useful when e.g. closing creator
while a submiteditor is open somewhere (but not visible).
This commit is contained in:
Tobias Hunger
2010-10-06 18:08:30 +02:00
parent 72eaca26db
commit c8065c2370

View File

@@ -466,6 +466,8 @@ VCSBaseSubmitEditor::PromptSubmitResult
bool *promptSetting,
bool forcePrompt) const
{
raiseSubmitEditor();
QString errorMessage;
QMessageBox::StandardButton answer = QMessageBox::Yes;