1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-25 20:22:39 +01:00

Add Installed list model reset on wizard finish

This commit is contained in:
Elias Steurer 2021-09-01 20:19:11 +02:00
parent 88b889afaf
commit e99225ce94
3 changed files with 4 additions and 0 deletions

View File

@ -173,6 +173,8 @@ void App::init()
}
m_create = make_unique<Create>(m_globalVariables);
QObject::connect(m_create.get(), &Create::finished, m_installedListModel.get(), &InstalledListModel::reset);
m_wizards = make_unique<Wizards>(m_globalVariables);
// When the installed storage path changed

View File

@ -237,6 +237,7 @@ void Create::saveWallpaper(
}
emit createWallpaperStateChanged(ImportVideoState::ImportVideoState::CreateProjectFileFinished);
emit finished();
}
/*!

View File

@ -95,6 +95,7 @@ signals:
void ffmpegOutputChanged(QString ffmpegOutput);
void widgetCreatedSuccessful(QString path);
void htmlWallpaperCreatedSuccessful(QString path);
void finished();
public slots:
void cancel();