summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-20 05:28:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-20 05:28:59 +0200
commit0f1b798fc437f78825e5dc73d011f5605a440036 (patch)
tree2b87179b63a6af44afd8eb353cbb7351edce6ab4 /gui
parent069b5fbdd326b5b8965a789880633e02cf9a54a2 (diff)
migrations: perform after bundle changed hooks run
Diffstat (limited to 'gui')
-rw-r--r--gui/main-window.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp
index 6a7be89f..d049facc 100644
--- a/gui/main-window.cpp
+++ b/gui/main-window.cpp
@@ -671,13 +671,13 @@ bool MainWindow::set_profile(const QString& new_name_)
ui.iconcomboProfile->setCurrentText(new_name);
set_profile_in_registry(new_name);
+ set_title();
+ options::detail::bundler::refresh_all_bundles();
+
// migrations are for config layout changes and other user-visible
// incompatibilities in future versions
run_migrations();
- set_title();
- options::detail::bundler::refresh_all_bundles();
-
return true;
}