| 263 | } |
| 264 | |
| 265 | void |
| 266 | CloudEditorWidget::remove () |
| 267 | { |
| 268 | if (!cloud_ptr_) |
| 269 | return; |
| 270 | if (!selection_ptr_ || selection_ptr_->empty()) |
| 271 | return; |
| 272 | std::shared_ptr<DeleteCommand> c(new DeleteCommand(selection_ptr_, |
| 273 | cloud_ptr_)); |
| 274 | command_queue_ptr_->execute(c); |
| 275 | update(); |
| 276 | } |
| 277 | |
| 278 | void |
| 279 | CloudEditorWidget::cut () |