Commit ff5f7933 authored by dt's avatar dt

SubmitFileEditor should emit signals

parent 447919d8
...@@ -42,6 +42,7 @@ SubmitEditorFile::SubmitEditorFile(const QString &mimeType, QObject *parent) : ...@@ -42,6 +42,7 @@ SubmitEditorFile::SubmitEditorFile(const QString &mimeType, QObject *parent) :
void SubmitEditorFile::setFileName(const QString name) void SubmitEditorFile::setFileName(const QString name)
{ {
m_fileName = name; m_fileName = name;
emit changed();
} }
void SubmitEditorFile::setModified(bool modified) void SubmitEditorFile::setModified(bool modified)
...@@ -55,6 +56,7 @@ void SubmitEditorFile::setModified(bool modified) ...@@ -55,6 +56,7 @@ void SubmitEditorFile::setModified(bool modified)
bool SubmitEditorFile::save(const QString &fileName) bool SubmitEditorFile::save(const QString &fileName)
{ {
emit saveMe(fileName); emit saveMe(fileName);
emit changed();
return true; return true;
} }
......
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