[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    kdevelop2.0: Apply-button in ClassProperty-Dialog closes dialog
From:       Eva Brucherseifer <eva () rt ! e-technik ! tu-darmstadt ! de>
Date:       2001-08-31 12:40:17
[Download RAW message or body]

Hi,

if you add things in the Class Property Dialog ("Add member function...") and 
you choose "Apply" the Dialog closes. Thus the Apply- and Close-Button have 
the same behaviour.

This can be repaired by taking the accept() call in line 473 in 
wzconnecteddlgimpl.cpp away.  (see also the attached patch)

The added text is then still there. Maybe it should be deleted? Or a 
delete-button (like for the URL in konqi) next to the Type, Declaration and 
Documentation would be nice. Or a "reset-button".

Another problem is, that in the current CVS I cannot open the Class Poperty 
Dialog from the toolbar. It works from the class tree.

Ciao, 
eva


-- 
Dijkstra:
"Testing can prove the presence of bugs, but not their absence."
["kdevelop.apply.patch" (text/x-diff)]

Index: wzconnectdlgimpl.cpp
===================================================================
RCS file: /home/kde/kdevelop/kdevelop/Attic/wzconnectdlgimpl.cpp,v
retrieving revision 1.1.2.15
diff -u -3 -p -r1.1.2.15 wzconnectdlgimpl.cpp
--- wzconnectdlgimpl.cpp	2001/05/12 20:13:03	1.1.2.15
+++ wzconnectdlgimpl.cpp	2001/08/31 11:48:46
@@ -470,7 +470,7 @@ void CClassPropertiesDlgImpl::slotBtnApp
       workClassAttrList -> clear();
       delete workClassAttrList;
     }
-    accept();
+    //accept();
 }
 
 /*

-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic