diff options
Diffstat (limited to 'src/gui/RenameWindow.cpp')
-rw-r--r-- | src/gui/RenameWindow.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/RenameWindow.cpp b/src/gui/RenameWindow.cpp index b9c252d0..0b89c962 100644 --- a/src/gui/RenameWindow.cpp +++ b/src/gui/RenameWindow.cpp @@ -56,6 +56,15 @@ RenameWindow::set_object(SharedPtr<ObjectModel> object) } +void +RenameWindow::present(SharedPtr<ObjectModel> object) +{ + set_object(object); + _name_entry->grab_focus(); + Gtk::Window::present(); +} + + /** Called every time the user types into the name input box. * Used to display warning messages, and enable/disable the rename button. */ |