added select and its deps
This commit is contained in:
1 parent
a60c60186b
commit
d65065644e
9 files changed
+2057
No files matched your search
@@ -42,6 +42,7 @@ namespace Cevo {
|
||||
namespace UnitStat {
|
||||
|
||||
std::function<void(WindowMode, int)> showNewContentOwnModel = [](WindowMode, int) {};
|
||||
std::function<void(WindowMode, int)> showNewContentEnemyModel = [](WindowMode, int) {};
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -177,6 +178,9 @@ UnitStatDlg::UnitStatDlg(QWidget *parent) : BufferedDrawDlg(parent), ui(new Ui::
|
||||
ui->helpBtn->onClick = [this] { Help::showNewContent(WindowMode::Persistent, Help::LinkCategory::Model, 0); };
|
||||
|
||||
UnitStat::showNewContentOwnModel = [this](WindowMode newMode, int mix) { this->showNewContentOwnModel(newMode, mix); };
|
||||
UnitStat::showNewContentEnemyModel = [this](WindowMode newMode, int emix) {
|
||||
this->showNewContentEnemyModel(newMode, emix);
|
||||
};
|
||||
|
||||
onShow = [this] {
|
||||
if (kind == UnitStatDialogKind::EnemyUnit || kind == UnitStatDialogKind::EnemyCityDefense ||
|
||||
|
||||
Reference in new issue
Block a user