Browse Source

When settings::lockModules is enabled, don't select modules on click.

tags/v2.3.0
Andrew Belt 1 year ago
parent
commit
4d53776101
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/app/ModuleWidget.cpp

+ 2
- 0
src/app/ModuleWidget.cpp View File

@@ -391,6 +391,7 @@ void ModuleWidget::onButton(const ButtonEvent& e) {

// If module positions are locked, don't consume left-click
if (settings::lockModules) {
e.consume(NULL);
return;
}

@@ -420,6 +421,7 @@ void ModuleWidget::onButton(const ButtonEvent& e) {

// If module positions are locked, don't consume left-click
if (settings::lockModules) {
e.consume(NULL);
return;
}



Loading…
Cancel
Save