TimerId should be set to 0 when hiding.

This commit is contained in:
dfighter1985 2014-06-14 18:32:27 +02:00
parent 4c17c3f6be
commit 4c19c6fb46

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()