mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -05:00
Added PaletteFilenameCombo sort
This commit is contained in:
parent
f54325dfd2
commit
17c6f29524
@ -217,8 +217,8 @@ win32 {
|
|||||||
|
|
||||||
macx {
|
macx {
|
||||||
QMAKE_MAC_SDK = macosx10.14
|
QMAKE_MAC_SDK = macosx10.14
|
||||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.10
|
||||||
QMAKE_CXXFLAGS += -mmacosx-version-min=10.9 -arch x86_64
|
QMAKE_CXXFLAGS += -mmacosx-version-min=10.10 -arch x86_64
|
||||||
QMAKE_CXXFLAGS += -stdlib=libc++
|
QMAKE_CXXFLAGS += -stdlib=libc++
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,6 +85,7 @@ size_t FractoriumEmberController<T>::InitPaletteList(const QString& s)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_Fractorium->ui.PaletteFilenameCombo->model()->sort(0);
|
||||||
return m_PaletteList->Size();
|
return m_PaletteList->Size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,6 +58,8 @@ PaletteEditor::PaletteEditor(QWidget* p) :
|
|||||||
ui->PaletteFilenameCombo->addItem(info.fileName());
|
ui->PaletteFilenameCombo->addItem(info.fileName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ui->PaletteFilenameCombo->model()->sort(0);
|
||||||
|
|
||||||
if (ui->PaletteFilenameCombo->count() > 0)
|
if (ui->PaletteFilenameCombo->count() > 0)
|
||||||
m_CurrentPaletteFilePath = ui->PaletteFilenameCombo->itemText(0).toStdString();
|
m_CurrentPaletteFilePath = ui->PaletteFilenameCombo->itemText(0).toStdString();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user