diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/RenameWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/RenameWindow.cpp b/src/gui/RenameWindow.cpp index a58ec2c2..92adb322 100644 --- a/src/gui/RenameWindow.cpp +++ b/src/gui/RenameWindow.cpp @@ -120,7 +120,7 @@ RenameWindow::ok_clicked() assert(name.length() > 0); assert(name.find("/") == string::npos); - App::instance().engine()->rename(_object->path(), name); + App::instance().engine()->rename(_object->path(), _object->path().parent().base() + name); hide(); } |