summaryrefslogtreecommitdiffhomepage
path: root/Stars45/ModDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/ModDlg.cpp')
-rw-r--r--Stars45/ModDlg.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Stars45/ModDlg.cpp b/Stars45/ModDlg.cpp
index 8cdec43..5aa54d9 100644
--- a/Stars45/ModDlg.cpp
+++ b/Stars45/ModDlg.cpp
@@ -234,15 +234,9 @@ ModDlg::OnSelectEnabled(AWEvent* event)
void
ModDlg::OnSelectDisabled(AWEvent* event)
{
-#ifdef STARSHATTER_DEMO_RELEASE
- if (btn_enable) {
- btn_enable->SetEnabled(false);
- }
-#else
if (btn_enable && lst_disabled) {
btn_enable->SetEnabled(lst_disabled->GetSelCount() == 1);
}
-#endif
}
void