1239:f1cf9d2d463a | 1240:cebb7ef54f41 |
---|---|
81 ++count; | 81 ++count; |
82 } | 82 } |
83 | 83 |
84 print(tr("%1 objects pasted"), count); | 84 print(tr("%1 objects pasted"), count); |
85 m_window->refresh(); | 85 m_window->refresh(); |
86 m_window->scrollToSelection(); | |
87 } | 86 } |
88 | 87 |
89 void BasicToolset::remove() | 88 void BasicToolset::remove() |
90 { | 89 { |
91 int num = m_window->deleteSelection(); | 90 int num = m_window->deleteSelection(); |
188 currentDocument()->addToSelection(object); | 187 currentDocument()->addToSelection(object); |
189 position += 1; | 188 position += 1; |
190 } | 189 } |
191 | 190 |
192 m_window->refresh(); | 191 m_window->refresh(); |
193 m_window->scrollToSelection(); | |
194 } | 192 } |
195 | 193 |
196 void BasicToolset::setColor() | 194 void BasicToolset::setColor() |
197 { | 195 { |
198 if (selectedObjects().isEmpty()) | 196 if (selectedObjects().isEmpty()) |