]> git.lyx.org Git - features.git/commitdiff
change debugs.
authorPavel Sanda <sanda@lyx.org>
Tue, 29 Jul 2008 00:34:15 +0000 (00:34 +0000)
committerPavel Sanda <sanda@lyx.org>
Tue, 29 Jul 2008 00:34:15 +0000 (00:34 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25948 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiSelection.cpp

index 30738cf30e6c5d6b238710d75377b04cc489155e..8b8ff85836e5ac0a114092520e544afb1b0b4e7b 100644 (file)
@@ -91,9 +91,9 @@ void GuiSelection::put(docstring const & str)
 
 void GuiSelection::on_dataChanged()
 {
-       LYXERR(Debug::SELECTION, "GuiSelection::on_dataChanged::empty: " << text_selection_empty_);
        text_selection_empty_ = qApp->clipboard()->
                text(QClipboard::Selection).isEmpty();
+       LYXERR(Debug::SELECTION, "GuiSelection::on_dataChanged::filled: " << !text_selection_empty_);
 }
 
 
@@ -102,7 +102,7 @@ bool GuiSelection::empty() const
        if (!selection_supported_)
                return true;
 
-       LYXERR(Debug::SELECTION, "GuiSelection::empty: " << text_selection_empty_);
+       LYXERR(Debug::SELECTION, "GuiSelection::filled: " << text_selection_empty_);
 
        return text_selection_empty_;
 }