forked from qt-creator/qt-creator
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:
@@ -466,6 +466,8 @@ VCSBaseSubmitEditor::PromptSubmitResult
|
|||||||
bool *promptSetting,
|
bool *promptSetting,
|
||||||
bool forcePrompt) const
|
bool forcePrompt) const
|
||||||
{
|
{
|
||||||
|
raiseSubmitEditor();
|
||||||
|
|
||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
QMessageBox::StandardButton answer = QMessageBox::Yes;
|
QMessageBox::StandardButton answer = QMessageBox::Yes;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user