diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2018-08-12 19:59:54 -0500 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2018-08-12 19:59:54 -0500 |
| commit | 17e4ec7b13e6df86cc473b78d8e44d37b2e80cf7 (patch) | |
| tree | 1baac49332343e5561ddb8648b23b01187a164ea /src/mainwindow.cpp | |
| parent | 9a426a2474700b3e3e858b3299d8a60bca58f8c7 (diff) | |
Fix selecting the active profile when opening the profiles dialog
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7a30ccb6..11cc8c6c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1961,8 +1961,7 @@ void MainWindow::on_actionInstallMod_triggered() void MainWindow::on_actionAdd_Profile_triggered()
{
for (;;) {
- //Note: Calling this with an invalid profile name. Not quite sure why
- ProfilesDialog profilesDialog(m_OrganizerCore.managedGame()->gameDirectory().absolutePath(),
+ ProfilesDialog profilesDialog(m_OrganizerCore.currentProfile()->name(),
m_OrganizerCore.managedGame(),
this);
// workaround: need to disable monitoring of the saves directory, otherwise the active
|
