diff --git a/Source/Fractorium/FractoriumParams.cpp b/Source/Fractorium/FractoriumParams.cpp index fa30372..19e2ba1 100644 --- a/Source/Fractorium/FractoriumParams.cpp +++ b/Source/Fractorium/FractoriumParams.cpp @@ -546,11 +546,7 @@ void FractoriumEmberController::FillParamTablesAndPalette() m_Fractorium->m_AffineInterpTypeCombo->SetCurrentIndexStealth(m_Ember.m_AffineInterp); m_Fractorium->m_InterpTypeCombo->SetCurrentIndexStealth(m_Ember.m_Interp); - //Xaos. - FillXaos(); - - //Palette. - + //Palette related items: //The temp palette is assigned the palette read when the file was parsed/saved. The user can apply adjustments on the GUI later. //These adjustments will be applied to the temp palette, then assigned back to m_Ember.m_Palette. //Normally, the temp palette is assigned whenever the user clicks on a palette cell. But since this is not diff --git a/Source/Fractorium/FractoriumXaos.cpp b/Source/Fractorium/FractoriumXaos.cpp index 3291299..9ed25d1 100644 --- a/Source/Fractorium/FractoriumXaos.cpp +++ b/Source/Fractorium/FractoriumXaos.cpp @@ -138,13 +138,10 @@ void Fractorium::FillXaosTable() m_XaosTableModel->setHorizontalHeaderLabels(hl); m_XaosTableModel->setVerticalHeaderLabels(vl); - ui.XaosTableView->setModel(m_XaosTableModel); ui.XaosTableView->setItemDelegate(m_XaosTableItemDelegate); - ui.XaosTableView->resizeRowsToContents(); - ui.XaosTableView->resizeColumnsToContents(); - SetTabOrder(this, ui.ClearXaosButton, ui.RandomXaosButton); + m_Controller->FillXaos(); ui.XaosTableView->blockSignals(false); if (oldModel)