Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
dSS - digitalSTROM Server
dss-mainline
Merge requests
!8
buttoninputmode on color change
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Christian Hitz
requested to merge
chhitz/dss-mainline:9395-buttoninputmode-color-change
into
R1503
10 years ago
Overview
1
Commits
1
Pipelines
0
Changes
-
0
0
Compare
R1503
R1503 (base)
and
latest version
latest version
75adf9ab
1 commit,
10 years ago
+
7
−
0
Expand all files
Preferences
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
src/structuremanipulator.cpp
+
7
−
0
Options
View file @ 75adf9ab
Edit in single-file editor
Open in Web IDE
Show full file
@@ -657,6 +657,13 @@ namespace dss {
if (oldGroupId != newGroup->getID()) {
device->setDeviceJokerGroup(newGroup->getID());
modified = true;
if ((newGroup->getID() != ColorIDBlack) &&
device->hasInput() &&
(device->getButtonInputMode() != DEV_PARAM_BUTTONINPUT_STANDARD)) {
device->setDeviceButtonInputMode(DEV_PARAM_BUTTONINPUT_STANDARD);
device->setButtonInputMode(DEV_PARAM_BUTTONINPUT_STANDARD);
}
}
/* check if device is also in a colored user group */
Menu
Explore
Projects
Groups
Topics
Snippets