TimerId should be set to 0 when hiding.

This commit is contained in:
dfighter1985 2014-06-14 18:32:27 +02:00
parent 86fe3045cf
commit 2a4af46577

View file

@ -168,7 +168,10 @@ namespace GUIEditor
void NelGUIWidget::hide() void NelGUIWidget::hide()
{ {
if( timerID != 0 ) if( timerID != 0 )
{
killTimer( timerID ); killTimer( timerID );
timerID = 0;
}
} }
QWidget* NelGUIWidget::getViewPort() QWidget* NelGUIWidget::getViewPort()