Error when closing when not saving unsaved message
Bug #228338 reported by
sander
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
Fix Released
|
Medium
|
Mats |
Bug Description
When I close Coccinella with a message dialog opened, it asks me if I want to save that message. When I click "No" I get the following error and Coccinella is not closed:
can't use empty string as operand of "!"
can't use empty string as operand of "!"
while executing
"if {![::UserAction
set result stop
}"
(procedure "::JUI::CloseHook" line 6)
invoked from within
"::JUI::CloseHook .jmain"
("uplevel" body line 1)
invoked from within
"uplevel #0 $topcache(
(procedure "::UI::
invoked from within
"::UI::
(command for "WM_DELETE_WINDOW" window manager protocol)
Changed in coccinella: | |
assignee: | nobody → matsben |
importance: | Undecided → Medium |
Changed in coccinella: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I didn't reproduce it but found a flaw in ::UserActions: :DoQuit which returned empty (and not 0|1) in one of its branches.