Another ifdef sets...

This commit is contained in:
vlj
2014-08-20 02:05:16 +02:00
parent 5559a9fd1d
commit 4197e2c320

View File

@@ -69,12 +69,16 @@ void DebugSliderDialog::onEnterPressedInternal()
GUIEngine::EventPropagation DebugSliderDialog::processEvent(const std::string& eventSource)
{
#if !defined(__APPLE__)
if (Setters.find(eventSource) == Setters.end())
#endif
return GUIEngine::EVENT_LET;
#if !defined(__APPLE__)
int value = getWidget<SpinnerWidget>(eventSource.c_str())->getValue();
Log::info("DebugSlider", "Value for <%s> : %i", eventSource.c_str(), value);
Setters[eventSource](value);
return GUIEngine::EVENT_BLOCK;
#endif
}
// ------------------------------------------------------------------------------------------------------