1
0
Fork 0

GUI: dont attempt animating steps when not debugging

This commit is contained in:
mrexodia 2016-09-07 15:34:35 +02:00
parent 3c737758d4
commit 9d609dd5ae
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 4 additions and 2 deletions

View File

@ -1676,12 +1676,14 @@ void MainWindow::setFavouriteItemShortcut(int type, const QString & name, const
void MainWindow::animateIntoSlot()
{
DbgFunctions()->AnimateCommand("StepInto");
if(DbgIsDebugging())
DbgFunctions()->AnimateCommand("StepInto");
}
void MainWindow::animateOverSlot()
{
DbgFunctions()->AnimateCommand("StepOver");
if(DbgIsDebugging())
DbgFunctions()->AnimateCommand("StepOver");
}
void MainWindow::animateCommandSlot()