diff options
Diffstat (limited to 'RealtimeSync/mainDialog.cpp')
-rw-r--r-- | RealtimeSync/mainDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/RealtimeSync/mainDialog.cpp b/RealtimeSync/mainDialog.cpp index 72b19a35..5ba378ce 100644 --- a/RealtimeSync/mainDialog.cpp +++ b/RealtimeSync/mainDialog.cpp @@ -8,6 +8,7 @@ #include "resources.h" #include "../shared/customButton.h" #include "../shared/standardPaths.h" +#include "functions.h" #include <wx/msgdlg.h> #include <wx/wupdlock.h> #include "watcher.h" @@ -288,7 +289,7 @@ void MainDialog::setConfiguration(const xmlAccess::XmlRealConfig& cfg) m_textCtrlCommand->SetValue(cfg.commandline); //set delay - m_spinCtrlDelay->SetValue(cfg.delay); + m_spinCtrlDelay->SetValue(static_cast<int>(cfg.delay)); } |