mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 12:18:35 -05:00
Cleanup
This commit is contained in:
@@ -136,12 +136,8 @@ void MacroActionMidiEdit::UpdateEntryData()
|
||||
|
||||
void MacroActionMidiEdit::DeviceSelectionChanged(const MidiDevice &device)
|
||||
{
|
||||
if (_loading || !_entryData) {
|
||||
return;
|
||||
}
|
||||
|
||||
{
|
||||
auto lock = LockContext();
|
||||
GUARD_LOADING_AND_LOCK();
|
||||
_entryData->_device = device;
|
||||
}
|
||||
emit HeaderInfoChanged(
|
||||
@@ -158,11 +154,7 @@ void MacroActionMidiEdit::ListenDeviceSelectionChanged(const MidiDevice &dev)
|
||||
|
||||
void MacroActionMidiEdit::MidiMessageChanged(const MidiMessage &message)
|
||||
{
|
||||
if (_loading || !_entryData) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto lock = LockContext();
|
||||
GUARD_LOADING_AND_LOCK();
|
||||
_entryData->_message = message;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user