Fix crash when edit a group operation notes.
This commit is contained in:
parent
2bb95154cd
commit
4665bc16e0
|
@ -1,6 +1,7 @@
|
|||
# Version 0.7.44 (unreleased)
|
||||
- Placeholder %size% has incorrect value.
|
||||
- Values for waist and hip swapped for individual measurements.
|
||||
- Fix crash when edit a group operation notes.
|
||||
|
||||
# Version 0.7.43 Jan 31, 2021
|
||||
- Improve Windows installer. Avoid crashing on checking if a program is still running.
|
||||
|
|
|
@ -88,6 +88,15 @@ void VAbstractOperation::SetSuffix(const QString &suffix)
|
|||
SaveOption(obj);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VAbstractOperation::SetNotes(const QString ¬es)
|
||||
{
|
||||
m_notes = notes;
|
||||
|
||||
QSharedPointer<VGObject> obj = VContainer::GetFakeGObject(m_id);
|
||||
SaveOption(obj);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
QVector<SourceItem> VAbstractOperation::SourceItems() const
|
||||
{
|
||||
|
|
|
@ -86,6 +86,8 @@ public:
|
|||
QString Suffix() const;
|
||||
void SetSuffix(const QString &suffix);
|
||||
|
||||
virtual void SetNotes(const QString ¬es) override;
|
||||
|
||||
QVector<SourceItem> SourceItems() const;
|
||||
|
||||
virtual void GroupVisibility(quint32 object, bool visible) override;
|
||||
|
|
Loading…
Reference in New Issue
Block a user