[passepartout] Fixed resize cancellation



commit f94e0c8fa32ec250a6d8839154ad57e280ca2d69
Author: Sven Herzberg <herzi src gnome org>
Date:   Fri Jun 15 12:43:07 2007 +0000

    Fixed resize cancellation
    
    git-svn-id: http://svn.gnome.org/svn/passepartout/trunk 1515 910bfebc-b532-0410-a802-fb3981afa09c
---
 src/pptout/docview.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pptout/docview.cc b/src/pptout/docview.cc
index 4fa3801..92185d0 100644
--- a/src/pptout/docview.cc
+++ b/src/pptout/docview.cc
@@ -492,7 +492,7 @@ void DocumentView::end_reshape(bool revert) {
   if(DocRef document = get_document()) {
     if(revert) {
       const Document::Selection selected = document->selected();
-      if(selected.size() != 1) {
+      if(selected.size() == 1) {
 	Pagent& obj = *selected.front();
 	obj.set_matrix(old_matrix);
 	if(Pagent::Resizable* o = dynamic_cast<Pagent::Resizable*>(&obj)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]