Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eec4c19
)
documentor: Fixed crash on changing documentation path
author
Jerome St-Louis
<jerome@ecere.com>
Mon, 11 Mar 2013 22:33:14 +0000
(18:33 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Mon, 11 Mar 2013 22:33:14 +0000
(18:33 -0400)
documentor/src/SettingsDialog.ec
patch
|
blob
|
history
diff --git
a/documentor/src/SettingsDialog.ec
b/documentor/src/SettingsDialog.ec
index
3b4d172
..
de1bf83
100644
(file)
--- a/
documentor/src/SettingsDialog.ec
+++ b/
documentor/src/SettingsDialog.ec
@@
-40,8
+40,7
@@
class SettingsDialog : Window
bool NotifyClicked(Button button, int x, int y, Modifiers mods)
{
- delete settings.docDir;
- settings.docDir = CopyString(pathEditBox.contents); // Store the path entered into the edit box
+ settings.docDir = pathEditBox.contents; // Store the path entered into the edit box
settingsContainer.Save(); // write that path to the ini file
Destroy(0); // close the window
return true;