Merge pull request #1459 from asmorkalov:ocv_qt_segflt_fix

This commit is contained in:
Roman Donchenko 2013-10-18 18:39:06 +04:00 committed by OpenCV Buildbot
commit 83b36dcbcf

View File

@ -1736,7 +1736,8 @@ void CvWindow::displayStatusBar(QString text, int delayms)
void CvWindow::enablePropertiesButton()
{
vect_QActions[9]->setDisabled(false);
if (!vect_QActions.empty())
vect_QActions[9]->setDisabled(false);
}