Commit b0562678 authored by Julius Künzel's avatar Julius Künzel
Browse files

[Project Settings] Fix: open selected profile instead of first

parent e5576773
...@@ -167,7 +167,7 @@ const QString ProfileWidget::selectedProfile() const ...@@ -167,7 +167,7 @@ const QString ProfileWidget::selectedProfile() const
void ProfileWidget::slotEditProfiles() void ProfileWidget::slotEditProfiles()
{ {
auto *w = new ProfilesDialog(m_currentProfile); auto *w = new ProfilesDialog(ProfileRepository::get()->getProfile(m_currentProfile)->description());
w->exec(); w->exec();
if (w->profileTreeChanged()) { if (w->profileTreeChanged()) {
// Rebuild profiles tree // Rebuild profiles tree
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment