From 97727601bdc6d93d1576ea80a01b820cc34e3fb1 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 2 Oct 2005 02:18:05 +0000 Subject: Made Region Select part of regular selection. git-svn-id: http://svn.leocad.org/trunk@424 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/System.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'win/System.cpp') diff --git a/win/System.cpp b/win/System.cpp index 6406017..2c29db4 100644 --- a/win/System.cpp +++ b/win/System.cpp @@ -27,6 +27,7 @@ #include "LibDlg.h" #include "EdGrpDlg.h" #include "AboutDlg.h" +#include "categdlg.h" #include "cadbar.h" #include "mainfrm.h" @@ -1528,6 +1529,21 @@ bool SystemDoDialog(int nMode, void* param) } } break; + case LC_DLG_EDITCATEGORY: + { + CCategoryDlg Dlg; + LC_CATEGORYDLG_OPTS* Opts = (LC_CATEGORYDLG_OPTS*)param; + + Dlg.m_Keywords = Opts->Keywords; + Dlg.m_Name = Opts->Name; + + if (Dlg.DoModal() == IDOK) + { + Opts->Keywords = Dlg.m_Keywords; + Opts->Name = Dlg.m_Name; + } + } break; + case LC_DLG_ABOUT: { CAboutDlg dlg; -- cgit v1.2.3