Skip to content
Snippets Groups Projects
Commit ff5f7933 authored by dt's avatar dt
Browse files

SubmitFileEditor should emit signals

parent 447919d8
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ SubmitEditorFile::SubmitEditorFile(const QString &mimeType, QObject *parent) :
void SubmitEditorFile::setFileName(const QString name)
{
m_fileName = name;
emit changed();
}
void SubmitEditorFile::setModified(bool modified)
......@@ -55,6 +56,7 @@ void SubmitEditorFile::setModified(bool modified)
bool SubmitEditorFile::save(const QString &fileName)
{
emit saveMe(fileName);
emit changed();
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment