Skip to content

Commit

Permalink
- fixed compilation of plugins
Browse files Browse the repository at this point in the history
- fixed unlocker
  • Loading branch information
christoph-hart committed Sep 30, 2024
1 parent 35da98a commit 4d39c10
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,12 @@ class JUCE_API OnlineUnlockStatus
{
auto s = getPublicKey().toString().fromFirstOccurrenceOf(",", false, false);

var rv(true);
var x = status[unlockedProp] && s.contains(otherString);
var x = s.contains(otherString);

if(status[unlockedProp] && !x)
std::swap(x, rv);

status.setProperty(unlockedProp, x, nullptr);
if(!x)
status.setProperty(unlockedProp, false, nullptr);

return rv;
return x;
}

/** Returns the Time when the keyfile expires.
Expand Down
2 changes: 1 addition & 1 deletion currentGitHash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
08a7dac9e7d0bea920fd7d3bf7b36ae23ac8f1e0
35da98ae75eb8d7d856ba083fb31fe44d37491a6
2 changes: 1 addition & 1 deletion hi_backend/backend/currentGit.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define PREVIOUS_HISE_COMMIT "08a7dac9e7d0bea920fd7d3bf7b36ae23ac8f1e0"
#define PREVIOUS_HISE_COMMIT "35da98ae75eb8d7d856ba083fb31fe44d37491a6"
2 changes: 2 additions & 0 deletions hi_scripting/scripting/scriptnode/ui/DspNetworkComponents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2552,10 +2552,12 @@ void KeyboardPopup::addNodeAndClose(String path)

std::function<void(Component*)> cleanup = [pc](Component* c)
{
#if USE_BACKEND
if(pc)
c->findParentComponentOfClass<ZoomableViewport>()->setCurrentModalWindow(nullptr, {});
else
c->findParentComponentOfClass<BackendRootWindow>()->clearModalComponent();
#endif
};

auto container = node.get();
Expand Down

0 comments on commit 4d39c10

Please sign in to comment.