TimerId should be set to 0 when hiding.

--HG--
branch : gsoc2014-dfighter
This commit is contained in:
dfighter1985 2014-06-14 18:32:27 +02:00
parent 9d9cd463b0
commit 1457469dfe

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