We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a03bcf commit bc09d94Copy full SHA for bc09d94
src/flexasio/FlexASIO/cflexasio.cpp
@@ -1,5 +1,6 @@
1
#include "cflexasio.h"
2
3
+#include "control_panel.h"
4
#include "flexasio.h"
5
#include "flexasio.rc.h"
6
#include "flexasio_h.h"
@@ -121,7 +122,10 @@ namespace flexasio {
121
122
}
123
124
ASIOError controlPanel() throw() final {
- return EnterWithMethod("controlPanel()", &FlexASIO::ControlPanel);
125
+ return Enter("controlPanel()", [&] {
126
+ if (!flexASIO.has_value()) OpenControlPanel(NULL); // https://github.com/dechamps/FlexASIO/issues/184
127
+ flexASIO->ControlPanel();
128
+ });
129
130
ASIOError future(long selector, void *) throw() final {
131
return Enter("future()", [&] {
0 commit comments