diff --git a/data/strings/en.ini b/data/strings/en.ini
index af2e47e8e..bfc91d88c 100644
--- a/data/strings/en.ini
+++ b/data/strings/en.ini
@@ -1654,14 +1654,30 @@ rewind_on_stop_tooltip = <<
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/app/commands/cmd_options.cpp b/src/app/commands/cmd_options.cpp
index 06b05cd60..b08c99b04 100644
--- a/src/app/commands/cmd_options.cpp
+++ b/src/app/commands/cmd_options.cpp
@@ -331,9 +331,12 @@ public:
// Slices default color
defaultSliceColor()->setColor(m_pref.slices.defaultColor());
- // Others
+ // Timeline
firstFrame()->setTextf("%d", m_globPref.timeline.firstFrame());
+ resetTimelineSel()->Click.connect([this]{ onResetTimelineSel(); });
+ resetTimelineSelAsV12()->Click.connect([this]{ onResetTimelineSelV12(); });
+ // Others
if (m_pref.general.expandMenubarOnMouseover())
expandMenubarOnMouseover()->setSelected(true);
@@ -1698,6 +1701,20 @@ private:
layout();
}
+ void onResetTimelineSel() {
+ keepSelection()->setSelected(false);
+ selectOnClick()->setSelected(false);
+ selectOnClickWithKey()->setSelected(true);
+ selectOnDrag()->setSelected(true);
+ }
+
+ void onResetTimelineSelV12() {
+ keepSelection()->setSelected(false);
+ selectOnClick()->setSelected(true);
+ selectOnClickWithKey()->setSelected(true);
+ selectOnDrag()->setSelected(true);
+ }
+
gfx::Rect gridBounds() const {
return gfx::Rect(gridX()->textInt(), gridY()->textInt(),
gridW()->textInt(), gridH()->textInt());