Git: Close submit editor if all changes were committed externally

Change-Id: Iae4e9d52aed333def0e5f0c56bca9c68a38430a4
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-02-25 15:09:02 +02:00
committed by Orgad Shaneh
parent e4e43352a8
commit e427eab068
3 changed files with 19 additions and 8 deletions

View File

@@ -54,6 +54,7 @@ public:
void setCommitData(const CommitData &);
void setAmend(bool amend);
GitSubmitEditorPanelData panelData() const;
bool forceClose() const { return m_forceClose; }
signals:
void diff(const QStringList &unstagedFiles, const QStringList &stagedFiles);
@@ -72,6 +73,7 @@ private:
VcsBase::SubmitFileModel *m_model;
QString m_commitEncoding;
bool m_amend;
bool m_forceClose;
QString m_workingDirectory;
};