Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acedaef
)
ecere/gui/Window: Fix for getting title of Saving message box from rootWindow
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 7 Mar 2012 14:31:40 +0000
(09:31 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 7 Mar 2012 14:31:40 +0000
(09:31 -0500)
ecere/src/gui/Window.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Window.ec
b/ecere/src/gui/Window.ec
index
f9bd289
..
ac4c6c6
100644
(file)
--- a/
ecere/src/gui/Window.ec
+++ b/
ecere/src/gui/Window.ec
@@
-7119,7
+7119,7
@@
public:
else
sprintf(message, $"Save changes to Untitled %d?", documentID);
- dialogRes = MessageBox { master = master, type = yesNoCancel, text = parent.caption, contents = message }.Modal();
+ dialogRes = MessageBox { master = master, type = yesNoCancel, text = parent.caption
? parent.caption : rootWindow.caption
, contents = message }.Modal();
if(dialogRes == yes)
{