[qet] qet/qet: [4750] Minor : reset value when needed |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4750
Author: blacksun
Date: 2016-10-19 18:39:50 +0200 (Wed, 19 Oct 2016)
Log Message:
-----------
Minor : reset value when needed
Modified Paths:
--------------
trunk/sources/ui/diagrampropertieseditordockwidget.cpp
Modified: trunk/sources/ui/diagrampropertieseditordockwidget.cpp
===================================================================
--- trunk/sources/ui/diagrampropertieseditordockwidget.cpp 2016-10-19 06:30:13 UTC (rev 4749)
+++ trunk/sources/ui/diagrampropertieseditordockwidget.cpp 2016-10-19 16:39:50 UTC (rev 4750)
@@ -63,6 +63,7 @@
else
{
m_diagram = nullptr;
+ m_edited_qgi_type = -1;
clear();
}
}
@@ -135,5 +136,6 @@
void DiagramPropertiesEditorDockWidget::diagramWasDeleted()
{
m_diagram = nullptr;
+ m_edited_qgi_type = -1;
clear();
}