summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winrt/mupdf_cpp/MainPage.xaml.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml.cpp b/winrt/mupdf_cpp/MainPage.xaml.cpp
index 4c1095bf..514cf27b 100644
--- a/winrt/mupdf_cpp/MainPage.xaml.cpp
+++ b/winrt/mupdf_cpp/MainPage.xaml.cpp
@@ -760,6 +760,10 @@ void mupdf_cpp::MainPage::Slider_ValueChanged(Platform::Object^ sender, Windows:
this->m_curr_flipView->SelectedIndex = newValue;
}, task_continuation_context::use_current());
}
+ else
+ {
+ this->m_curr_flipView->SelectedIndex = newValue;
+ }
}
}