diff --git a/src/window.py b/src/window.py index 01752a0..9e71d72 100644 --- a/src/window.py +++ b/src/window.py @@ -441,9 +441,6 @@ def get_cur_row(): buttons_layout.addWidget(self.save_gcode_button, get_cur_row(), 3) buttons_layout.setColumnMinimumWidth(1, 230) - self.color_model_button = QPushButton(self.locale.ColorModel) - buttons_layout.addWidget(self.color_model_button, get_cur_row(), 3) - self.slice_vip_button = QPushButton(self.locale.SliceVip) buttons_layout.addWidget(self.slice_vip_button, get_next_row(), 1, 1, 2) @@ -499,6 +496,9 @@ def init_figure_panel(self): self.remove_plane_button = QPushButton(self.locale.DeletePlane) bottom_layout.addWidget(self.remove_plane_button, 3, 2) + self.color_model_button = QPushButton(self.locale.ColorModel) + bottom_layout.addWidget(self.color_model_button, 3, 3) + self.edit_figure_button = QPushButton(self.locale.EditFigure) bottom_layout.addWidget(self.edit_figure_button, 4, 2)