mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 08:22:33 +02: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);
|
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);
|
m_wizards = make_unique<Wizards>(m_globalVariables);
|
||||||
|
|
||||||
// When the installed storage path changed
|
// When the installed storage path changed
|
||||||
|
@ -237,6 +237,7 @@ void Create::saveWallpaper(
|
|||||||
}
|
}
|
||||||
|
|
||||||
emit createWallpaperStateChanged(ImportVideoState::ImportVideoState::CreateProjectFileFinished);
|
emit createWallpaperStateChanged(ImportVideoState::ImportVideoState::CreateProjectFileFinished);
|
||||||
|
emit finished();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -95,6 +95,7 @@ signals:
|
|||||||
void ffmpegOutputChanged(QString ffmpegOutput);
|
void ffmpegOutputChanged(QString ffmpegOutput);
|
||||||
void widgetCreatedSuccessful(QString path);
|
void widgetCreatedSuccessful(QString path);
|
||||||
void htmlWallpaperCreatedSuccessful(QString path);
|
void htmlWallpaperCreatedSuccessful(QString path);
|
||||||
|
void finished();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void cancel();
|
void cancel();
|
||||||
|
Loading…
Reference in New Issue
Block a user