Classifiers can be saved and loaded

This commit is contained in:
Daniel Girardeau-Montaut
2018-10-26 10:46:35 +02:00
parent d405332370
commit 65e5bfd35d
2 changed files with 25 additions and 11 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ bool Classifier::fromFile(QString filename, QWidget* parentWidget/*=nullptr*/)
//load the classifier
QProgressDialog pDlg(parentWidget);
pDlg.setRange(0, 0); //infinite loop
pDlg.setLabelText(QObject::tr("Saving classifier"));
pDlg.setLabelText(QObject::tr("Loading classifier"));
pDlg.show();
QCoreApplication::processEvents();