aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-05-09 20:00:10 +0200
committerDavid Robillard <d@drobilla.net>2020-05-09 20:00:10 +0200
commit367e3cbc12ede2a5501fbe8e2baba3115521c20c (patch)
tree89a4006e689ac19bfac95dcd6a1fad478f00b83e /src
parente2198677a5b47d3a9ae920f0e800ded623d26e0f (diff)
downloadjalv-master.tar.gz
jalv-master.tar.bz2
jalv-master.zip
Always call jalv_init_ui()HEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/jalv_gtkmm2.cpp2
-rw-r--r--src/jalv_qt.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/jalv_gtkmm2.cpp b/src/jalv_gtkmm2.cpp
index 3f5a0e9..3db2157 100644
--- a/src/jalv_gtkmm2.cpp
+++ b/src/jalv_gtkmm2.cpp
@@ -87,6 +87,8 @@ jalv_open_ui(Jalv* jalv)
window->add(*Gtk::manage(button));
}
+ jalv_init_ui(jalv);
+
window->set_resizable(jalv_ui_is_resizable(jalv));
window->show_all();
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp
index f23a005..46f9a92 100644
--- a/src/jalv_qt.cpp
+++ b/src/jalv_qt.cpp
@@ -728,6 +728,8 @@ jalv_open_ui(Jalv* jalv)
win->setCentralWidget(widget);
app->connect(app, SIGNAL(lastWindowClosed()), app, SLOT(quit()));
+ jalv_init_ui(jalv);
+
win->show();
if (jalv->ui_instance && !jalv_ui_is_resizable(jalv)) {
widget->setMinimumSize(widget->width(), widget->height());