diff options
-rw-r--r-- | src/toolbar_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 9c0a7734e..ed32c2bc1 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -95,7 +95,7 @@ enum ToolbarScenEditorWidgets { TBSE_FASTFORWARD, TBSE_SAVESCENARIO = 3, TBSE_SPACERPANEL, - TBSE_SEPARATOR, + TBSE_DATEPANEL, TBSE_DATEBACKWARD, TBSE_DATEFORWARD, TBSE_SMALLMAP, @@ -1206,7 +1206,7 @@ public: this->widget[i].right = x - 1; break; - case TBSE_SEPARATOR: { + case TBSE_DATEPANEL: { int offset = x - this->widget[i].left; this->widget[i + 1].left += offset; this->widget[i + 1].right += offset; |