Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [BUG & PATCH] InsertColorDlg should respect cancel and system close window button.
[BUG & PATCH] InsertColorDlg should respect cancel and system close window button. [message #40246] |
Wed, 10 July 2013 15:59  |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello,
I have noticed that if you push cancel or system window close button in the InsertColorDlg window, TheIDE performes paste operation on the code editor. This behavior is not acceptable.
How to reproduce?
1. Press Ctrl+A on the text editor.
2. Press RightButton.
3. Then Insert -> Insert color...
4. Push cancel or system window close button.
5. Result: The code disappeared!!!
I have enclosed improved source file (IDE package - Insert.cpp). I have added "canceled" variable and "IsCanceled" method to the InsertColorDlg window.
Sincerely,
Klugier
-
Attachment: Insert.cpp
(Size: 3.53KB, Downloaded 312 times)
U++ - one framework to rule them all.
[Updated on: Wed, 10 July 2013 19:39] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Tue May 13 08:12:07 CEST 2025
Total time taken to generate the page: 0.00793 seconds
|