OSDN Git Service

Force update of the controls after a template has been loaded.
authorlordmulder <mulder2@gmx.de>
Fri, 14 Feb 2014 22:58:39 +0000 (23:58 +0100)
committerlordmulder <mulder2@gmx.de>
Fri, 14 Feb 2014 22:58:39 +0000 (23:58 +0100)
src/version.h
src/win_addJob.cpp

index af0b810..f231f5a 100644 (file)
@@ -26,7 +26,7 @@
 #define VER_X264_MAJOR 2
 #define VER_X264_MINOR 3
 #define VER_X264_PATCH 1
-#define VER_X264_BUILD 770
+#define VER_X264_BUILD 771
 
 #define VER_X264_MINIMUM_REV 2380
 #define VER_X264_CURRENT_API 142
index 6ec3a6f..af92f05 100644 (file)
@@ -588,6 +588,8 @@ void AddJobDialog::templateSelected(void)
        }
 
        //Force updates
+       encoderIndexChanged(ui->cbxEncoderType->currentIndex());
+       variantIndexChanged(ui->cbxEncoderVariant->currentIndex());
        modeIndexChanged(ui->cbxRateControlMode->currentIndex());
 }