adjusted to only open one window for the launcher

This commit is contained in:
Jeremy Borgman
2020-09-17 19:55:37 -05:00
committed by borgmanJeremy
parent 2722899a46
commit 7715bdeb29
2 changed files with 6 additions and 3 deletions

View File

@@ -188,8 +188,10 @@ Controller::openInfoWindow()
void
Controller::openLauncherWindow()
{
CaptureLauncher* w = new CaptureLauncher();
w->show();
if (!m_launcherWindow) {
m_launcherWindow = new CaptureLauncher();
}
m_launcherWindow->show();
}
void