Commit 8c61eb04 authored by Tobias Hunger's avatar Tobias Hunger

Avoid sending signals if nothing changed

Change-Id: Ie34a39f7d5035ebb7c9bbec199680605c072181d
Reviewed-by: default avatarTobias Hunger <>
parent 9e9dd993
......@@ -55,6 +55,8 @@ void SubmitEditorFile::rename(const QString &newName)
void SubmitEditorFile::setFileName(const QString &name)
if (m_fileName == name)
m_fileName = name;
emit changed();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment