mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Add Installed list model reset on wizard finish
This commit is contained in:
parent
88b889afaf
commit
e99225ce94
@ -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
|
||||
|
@ -237,6 +237,7 @@ void Create::saveWallpaper(
|
||||
}
|
||||
|
||||
emit createWallpaperStateChanged(ImportVideoState::ImportVideoState::CreateProjectFileFinished);
|
||||
emit finished();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
@ -95,6 +95,7 @@ signals:
|
||||
void ffmpegOutputChanged(QString ffmpegOutput);
|
||||
void widgetCreatedSuccessful(QString path);
|
||||
void htmlWallpaperCreatedSuccessful(QString path);
|
||||
void finished();
|
||||
|
||||
public slots:
|
||||
void cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user