Commit fe3beadd authored by Ilkka Ollakka's avatar Ilkka Ollakka

set in_edit=false on close;

don't connect QSpingBox valuechanged to edit-stuff, seems that signal is
emited when value is updated from software also (textEdited for text is
emited only when user changes stuff).
parent 9f6ae012
......@@ -135,9 +135,9 @@ MetaPanel::MetaPanel( QWidget *parent,
CONNECT( artist_text, textEdited( QString ), this, editMeta( QString ) );
CONNECT( collection_text, textEdited( QString ), this, editMeta( QString ) );
CONNECT( genre_text, textEdited( QString ), this, editMeta( QString ) );
CONNECT( date_text, valueChanged( QString ), this, editMeta( QString ) );
/* CONNECT( date_text, valueChanged( QString ), this, editMeta( QString ) );
CONNECT( seqnum_text, valueChanged( QString ), this, editMeta( QString ) );
CONNECT( rating_text, valueChanged( QString ), this, editMeta( QString ) );
CONNECT( rating_text, valueChanged( QString ), this, editMeta( QString ) );*/
in_edit = false;
}
......
......@@ -200,6 +200,7 @@ void MediaInfoDialog::close()
deleteLater();
}
MP->setEdit( false );
in_edit = false;
}
void MediaInfoDialog::updateButtons( int i_tab )
......
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