This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Check that setModule() was called in ModuleWidget constructor.
tags/v2.0.0
Andrew Belt
3 years ago
parent
8b5d4483a9
commit
93c4e087b5
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
include/helpers.hpp
+ 1
- 0
include/helpers.hpp
View File
@@ -35,6 +35,7 @@ plugin::Model* createModel(std::string slug) {
tm = dynamic_cast<TModule*>(m);
}
app::ModuleWidget* mw = new TModuleWidget(tm);
assert(mw->module == m);
mw->setModel(this);
return mw;
}
Write
Preview
Loading…
Cancel
Save