diff options
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r-- | src/FbCommands.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc index c74cce6..4db6af7 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc | |||
@@ -448,7 +448,7 @@ BindKeyCmd::BindKeyCmd(const string &keybind):m_keybind(keybind) { } | |||
448 | void BindKeyCmd::execute() { | 448 | void BindKeyCmd::execute() { |
449 | if (Fluxbox::instance()->keys() != 0) { | 449 | if (Fluxbox::instance()->keys() != 0) { |
450 | if (Fluxbox::instance()->keys()->addBinding(m_keybind)) { | 450 | if (Fluxbox::instance()->keys()->addBinding(m_keybind)) { |
451 | ofstream ofile(Fluxbox::instance()->keys()->filename().c_str(), ios::app); | 451 | ofstream ofile(Fluxbox::instance()->getKeysResource()->c_str(), ios::app); |
452 | if (!ofile) | 452 | if (!ofile) |
453 | return; | 453 | return; |
454 | ofile<<m_keybind<<endl; | 454 | ofile<<m_keybind<<endl; |