MealReccomenderGUI/mealreccomendgui.cpp
void MealReccomendGUI::on_regionalFood_currentIndexChanged(int index)
{
    int justToGetThatWarningAway = index;
    justToGetThatWarningAway++;
    resetConfirmed = false;
    ui->reset->setText("Reset Inputs");

}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///                              code to reset reset button if a change occures
///
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
code to reset reset button if a change occures
code to reset reset button if a change occures
void MealReccomendGUI::on_regionalFood_currentIndexChanged(int index)
{
    int justToGetThatWarningAway = index;
    justToGetThatWarningAway++;
    resetConfirmed = false;
    ui->reset->setText("Reset Inputs");
}
void MealReccomendGUI :: on_regionalFood_currentIndexChanged ( int index ) { int justToGetThatWarningAway = index ; justToGetThatWarningAway ++ ; resetConfirmed = false ; ui -> reset -> setText ( " " ) ; }
code to reset reset button if a change occures
code to reset reset button if a change occures