diff options
Diffstat (limited to 'ui/qt/extcap_options_dialog.cpp')
-rw-r--r-- | ui/qt/extcap_options_dialog.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/qt/extcap_options_dialog.cpp b/ui/qt/extcap_options_dialog.cpp index ae798e29d9..2aea0dc490 100644 --- a/ui/qt/extcap_options_dialog.cpp +++ b/ui/qt/extcap_options_dialog.cpp @@ -184,6 +184,11 @@ void ExtcapOptionsDialog::anyValueChanged() if ( ! ((ExtArgText *)*iter)->isValid() ) allowStart = false; } + else if ( dynamic_cast<ExtArgTimestamp *>((*iter)) != NULL) + { + if ( ! ((ExtArgTimestamp *)*iter)->isValid() ) + allowStart = false; + } else if ( ! (*iter)->isValid() ) allowStart = false; @@ -465,6 +470,10 @@ void ExtcapOptionsDialog::storeValues() { value = ((ExtArgText *)*iter)->prefValue(); } + else if ( dynamic_cast<ExtArgTimestamp *>((*iter)) != NULL) + { + value = ((ExtArgTimestamp *)*iter)->prefValue(); + } else value = (*iter)->prefValue(); |